X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=e7ed503611e3bfd3123d4bc25d688a87bf12fe47;hb=da267d008b9bb122f0617a067021703da5c673bb;hp=ede6b74601f24cbfe47fb0876c808453ddcad145;hpb=224970e5805b6b04027cd042cb3452de64e1bbb7;p=dcpomatic.git diff --git a/wscript b/wscript index ede6b7460..e7ed50361 100644 --- a/wscript +++ b/wscript @@ -26,7 +26,7 @@ import distutils.spawn from waflib import Logs APPNAME = 'dcpomatic' -VERSION = '2.1.14devel' +VERSION = '2.1.21devel' def options(opt): opt.load('compiler_cxx') @@ -295,6 +295,7 @@ def configure(conf): conf.env.STLIB_BOOST_DATETIME = ['boost_date_time%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix] conf.env.STLIB_BOOST_SIGNALS2 = ['boost_signals2'] conf.env.STLIB_BOOST_SYSTEM = ['boost_system'] + conf.env.STLIB_BOOST_REGEX = ['boost_regex'] else: conf.check_cxx(fragment=""" #include \n @@ -342,6 +343,14 @@ def configure(conf): msg='Checking for boost signals2 library', uselib_store='BOOST_SIGNALS2') + conf.check_cxx(fragment=""" + #include \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')