summaryrefslogtreecommitdiff
path: root/libs/audiographer
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-29 20:29:06 +0000
committerDavid Robillard <d@drobilla.net>2011-09-29 20:29:06 +0000
commit4ffe8418e3d3e2b9835f37e96bc9521f48b6b774 (patch)
tree9a050125b4f82ffcddeb1d9076f5c01df61beb33 /libs/audiographer
parentc1ef7b14a3e1200817180cfaf6425e9bdf0eb51b (diff)
Use is_defined to check for HAVE_* variables set by checks.
Note that conf.define('FOO', 1) will NOT set conf.env['FOO']. git-svn-id: svn://localhost/ardour2/branches/3.0@10164 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/audiographer')
-rw-r--r--libs/audiographer/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/audiographer/wscript b/libs/audiographer/wscript
index 996329777f..de22a73a37 100644
--- a/libs/audiographer/wscript
+++ b/libs/audiographer/wscript
@@ -50,7 +50,9 @@ def build(bld):
#bld.install_files('${INCLUDEDIR}/audiographer/utils', 'audiographer/utils/*.h')
#bld.env['BUILD_TESTS'] = True
- bld.env['HAVE_ALL_GTHREAD'] = bld.env['HAVE_GLIB'] and bld.env['HAVE_GLIBMM'] and bld.env['HAVE_GTHREAD']
+ bld.env['HAVE_ALL_GTHREAD'] = (bld.is_defined('HAVE_GLIB')
+ and bld.is_defined('HAVE_GLIBMM')
+ and bld.is_defined('HAVE_GTHREAD'))
audiographer = bld(features = 'cxx cxxshlib')
audiographer.source = '''