summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-02 19:29:00 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-02 19:29:00 +0100
commit6fcec25a4baf766b47ffeb9182afa67fc2a21229 (patch)
tree30d0904010ba4ad0d2f0db77a557b5e1b3ea693f /wscript
parente0a5636f51a4effc20936fdd340f41f7d63ac468 (diff)
More regex fixes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 98cca364a..99411a5ae 100644
--- a/wscript
+++ b/wscript
@@ -343,6 +343,14 @@ def configure(conf):
msg='Checking for boost signals2 library',
uselib_store='BOOST_SIGNALS2')
+ conf.check_cxx(fragment="""
+ #include <boost/regex.hpp>\n
+ int main() { boost::regex re ("foo"); }\n
+ """,
+ msg='Checking for boost regex library',
+ lib=['boost_regex%s' % boost_lib_suffix],
+ uselib_store='BOOST_REGEX')
+
# Other stuff
conf.find_program('msgfmt', var='MSGFMT')