summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-25 15:13:40 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-25 15:13:40 +0000
commitea73ac38b9ee0e75a264cec907e6ac99d2f5d54a (patch)
tree0ec47ba1cf9a3f558d297b15603a4b8b7cae15c6 /wscript
parent641a0b8158f64bf66780041c0e7b32242ee686d3 (diff)
Link boost locale.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 9d2450d34..138f947e4 100644
--- a/wscript
+++ b/wscript
@@ -186,6 +186,14 @@ def configure(conf):
uselib_store='BOOST_DATETIME')
conf.check_cxx(fragment="""
+ #include <boost/locale.hpp>\n
+ int main() { std::locale::global (boost::locale::generator().generate ("")); }\n
+ """, msg='Checking for boost locale library',
+ libpath='/usr/local/lib',
+ lib=['boost_locale%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
+ uselib_store='BOOST_LOCALE')
+
+ conf.check_cxx(fragment="""
#include <boost/signals2.hpp>\n
int main() { boost::signals2::signal<void (int)> x; }\n
""",