diff options
author | David Robillard <d@drobilla.net> | 2011-09-17 19:50:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-17 19:50:53 +0000 |
commit | 67ec55501fcb373a663d8347e821430ebd4501af (patch) | |
tree | 3107aa4521566c39b1aa1bede68208ba810c8bb4 /wscript | |
parent | 8b460c2a36a6b9ea9ca13f33439111dd738a30bb (diff) | |
download | raul-67ec55501fcb373a663d8347e821430ebd4501af.tar.gz raul-67ec55501fcb373a663d8347e821430ebd4501af.tar.bz2 raul-67ec55501fcb373a663d8347e821430ebd4501af.zip |
Add check for <atomic> header if C++0x is enabled.
Fix compilation with --c++0x --test.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@3470 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,10 +67,10 @@ def configure(conf): if Options.options.log_debug: autowaf.define(conf, 'RAUL_LOG_DEBUG', 1) - if Options.options.cpp0x: conf.env.append_value('CXXFLAGS', [ '-std=c++0x' ]) autowaf.check_header(conf, 'cxx', 'memory') + autowaf.check_header(conf, 'cxx', 'atomic') autowaf.define(conf, 'RAUL_CPP0x', 1) else: autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp') |