debug utf8
authorCarl Hetherington <cth@carlh.net>
Thu, 2 Mar 2023 11:42:28 +0000 (12:42 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 2 Mar 2023 11:42:28 +0000 (12:42 +0100)
wscript

diff --git a/wscript b/wscript
index 54b965637a05075f7d4e0d4df37f4180b0dbd0fe..2ca4b51a227e4d39ae2b5e0825687ac0ec29c2ee 100644 (file)
--- a/wscript
+++ b/wscript
@@ -227,6 +227,15 @@ def configure(conf):
                    lib=['boost_date_time%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
                    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')
+
     if not conf.env.DISABLE_TESTS:
         conf.recurse('test')
         if conf.options.enable_gcov: