summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-28 11:50:15 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-28 11:50:15 +0100
commitcd0958260b54af3514ac12b936bb76ca6de6978b (patch)
treea06591bfc901d950290e6c3ba2aad1dcf123921e /wscript
parent14fa24a1aabda7925f4842ab7f7e13c1798182a4 (diff)
More STL binary reading stuff.
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index a664b8b..5f619b5 100644
--- a/wscript
+++ b/wscript
@@ -49,6 +49,15 @@ def configure(conf):
lib = ['boost_filesystem', 'boost_system'],
uselib_store = 'BOOST_FILESYSTEM')
+ conf.check_cxx(fragment = """
+ #include <boost/locale.hpp>\n
+ int main() { boost::locale::conv::to_utf<char> ("a", "cp850"); }\n
+ """,
+ msg = 'Checking for boost locale library',
+ libpath = '/usr/local/lib',
+ lib = ['boost_locale', 'boost_system'],
+ uselib_store = 'BOOST_LOCALE')
+
conf.recurse('test')
def build(bld):