aboutsummaryrefslogtreecommitdiff
path: root/cutl/re
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-27 16:18:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-12-27 16:18:55 +0200
commit1741b8e80e92135d80eaa2e22cf90b027034b58d (patch)
treeeea0744ff53a2d140e7a3495e001f101077679ba /cutl/re
parent30482c4da156d4ce6249b9cebdc8cb63ec1b60c3 (diff)
Add support for using external boost in autotools build system
Diffstat (limited to 'cutl/re')
-rw-r--r--cutl/re/re.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cutl/re/re.cxx b/cutl/re/re.cxx
index 9cd2f2e..96d5651 100644
--- a/cutl/re/re.cxx
+++ b/cutl/re/re.cxx
@@ -7,7 +7,11 @@
#include <cutl/re.hxx>
-#include <cutl/details/boost/tr1/regex.hpp>
+#ifndef LIBCUTL_EXTERNAL_BOOST
+# include <cutl/details/boost/tr1/regex.hpp>
+#else
+# include <boost/tr1/regex.hpp>
+#endif
using namespace std;