Detected boost using a compile-time check (works w/x-compile)
This commit is contained in:
parent
231e25544b
commit
7036b2825a
5
wscript
5
wscript
@ -1019,8 +1019,9 @@ def configure(conf):
|
|||||||
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', uselib_store='DL')
|
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', uselib_store='DL')
|
||||||
else:
|
else:
|
||||||
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL')
|
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL')
|
||||||
conf.check_cxx(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
|
|
||||||
execute = "1",
|
conf.check_cxx(fragment = "#include <boost/version.hpp>\n#if !defined (BOOST_VERSION) || BOOST_VERSION < 103900\n#error boost >= 1.39 is not available\n#endif\nint main(void) { return 0; }\n",
|
||||||
|
execute = False,
|
||||||
mandatory = True,
|
mandatory = True,
|
||||||
msg = 'Checking for boost library >= 1.39',
|
msg = 'Checking for boost library >= 1.39',
|
||||||
okmsg = 'ok',
|
okmsg = 'ok',
|
||||||
|
Loading…
Reference in New Issue
Block a user