diff options
author | David Robillard <d@drobilla.net> | 2016-10-01 19:50:38 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-01 19:50:38 -0400 |
commit | c73c877f8bd09e0d5a6663ea5ba32a54465f5376 (patch) | |
tree | 185f2da0e58e1c2ab75c4d9db851cf6fc7ca90ee /wscript | |
parent | 604015aa65de7d84f177b53e578a8c9852d7893f (diff) | |
download | ingen-c73c877f8bd09e0d5a6663ea5ba32a54465f5376.tar.gz ingen-c73c877f8bd09e0d5a6663ea5ba32a54465f5376.tar.bz2 ingen-c73c877f8bd09e0d5a6663ea5ba32a54465f5376.zip |
Fix OSX build
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -60,6 +60,15 @@ def configure(conf): conf.check_cxx(header_name='boost/shared_ptr.hpp') conf.check_cxx(header_name='boost/utility.hpp') conf.check_cxx(header_name='boost/weak_ptr.hpp') + conf.check_cxx(msg='Checking for thread_local keyword', + mandatory=False, + fragment='thread_local int i = 0; int main() {}', + define_name='INGEN_HAVE_THREAD_LOCAL') + if not conf.is_defined('INGEN_HAVE_THREAD_LOCAL'): + conf.check_cxx(msg='Checking for __thread keyword', + mandatory=False, + fragment='__thread int i = 0; int main() {}', + define_name='INGEN_HAVE_THREAD_BUILTIN') autowaf.check_pkg(conf, 'lv2', uselib_store='LV2', atleast_version='1.14.0', mandatory=True) |