Check for boost/signals2.hpp and an appropriate version of the boost library. Closes #2963.
git-svn-id: svn://localhost/ardour2/branches/3.0@6403 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8da27200d1
commit
a2ec28fd26
10
wscript
10
wscript
@ -455,6 +455,16 @@ def configure(conf):
|
|||||||
if Options.options.boost_sp_debug:
|
if Options.options.boost_sp_debug:
|
||||||
conf.env.append_value('CXXFLAGS', '-DBOOST_SP_ENABLE_DEBUG_HOOKS')
|
conf.env.append_value('CXXFLAGS', '-DBOOST_SP_ENABLE_DEBUG_HOOKS')
|
||||||
|
|
||||||
|
autowaf.check_header(conf, 'boost/signals2.hpp')
|
||||||
|
|
||||||
|
conf.check_cc(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 104000 ? 0 : 1); }\n",
|
||||||
|
execute = "1",
|
||||||
|
mandatory = True,
|
||||||
|
define_name = 'boost_old_enough',
|
||||||
|
msg = 'Checking for boost library >= 1.40',
|
||||||
|
okmsg = 'ok',
|
||||||
|
errmsg = 'too old\nPlease install boost version 1.40 or higher.')
|
||||||
|
|
||||||
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.2')
|
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', atleast_version='2.2')
|
||||||
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.2')
|
autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD', atleast_version='2.2')
|
||||||
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0')
|
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0')
|
||||||
|
Loading…
Reference in New Issue
Block a user