diff options
author | David Robillard <d@drobilla.net> | 2011-03-16 01:16:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-16 01:16:34 +0000 |
commit | 495a596f673dec551783b166150d2fa3772198bd (patch) | |
tree | 2e8a392ee9aa98109a9b75caee76861d51d5a50b /wscript | |
parent | efad19f9d41d21c8df1ebcb18c101227da642f02 (diff) | |
download | ingen-495a596f673dec551783b166150d2fa3772198bd.tar.gz ingen-495a596f673dec551783b166150d2fa3772198bd.tar.bz2 ingen-495a596f673dec551783b166150d2fa3772198bd.zip |
Update for new waf/autowaf.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3097 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -85,10 +85,9 @@ def configure(conf): autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/uri-map/uri-map.h') autowaf.check_header(conf, 'lv2/lv2plug.in/ns/ext/uri-unmap/uri-unmap.h') - build_gui = conf.is_defined('HAVE_GLADEMM') and conf.is_defined('HAVE_FLOWCANVAS') - autowaf.define(conf, 'INGEN_VERSION', INGEN_VERSION) - autowaf.define(conf, 'INGEN_BUILD_GUI', int(build_gui)) + if conf.is_defined('HAVE_GLADEMM') and conf.is_defined('HAVE_FLOWCANVAS'): + autowaf.define(conf, 'INGEN_BUILD_GUI', 1) if conf.is_defined('HAVE_JACK'): autowaf.define(conf, 'HAVE_JACK_MIDI', 1) if conf.env['BUNDLE']: @@ -131,7 +130,7 @@ def build(bld): bld.recurse('src/shared') bld.recurse('src/client') - if bld.env['INGEN_BUILD_GUI']: + if bld.is_defined('INGEN_BUILD_GUI'): bld.recurse('src/gui') # Program |