From 67ec55501fcb373a663d8347e821430ebd4501af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 17 Sep 2011 19:50:53 +0000 Subject: Add check for 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 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index b243a3f..6d5bf90 100644 --- a/wscript +++ b/wscript @@ -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') -- cgit v1.2.1