aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-12-22 01:21:50 +0000
committerDavid Robillard <d@drobilla.net>2008-12-22 01:21:50 +0000
commit5157db0248f8df138fe4337b0820e4e18a56bbfd (patch)
tree03dcd55195a25e7e70689bf7838b00d4d2829f7a /wscript
parent0787dd0aec702dfdeb7e9ea3ad3c8da0310e18f8 (diff)
downloadmachina-5157db0248f8df138fe4337b0820e4e18a56bbfd.tar.gz
machina-5157db0248f8df138fe4337b0820e4e18a56bbfd.tar.bz2
machina-5157db0248f8df138fe4337b0820e4e18a56bbfd.zip
Fix header/function checks.
Fix LV2core include path. Don't write python style boolean literals to wafconfig.h. Upgrade to waf 1.5.2. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@1898 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 2792ea0..2753aab 100644
--- a/wscript
+++ b/wscript
@@ -39,7 +39,7 @@ def configure(conf):
build_gui = conf.env['HAVE_GLADEMM'] == 1 and conf.env['HAVE_FLOWCANVAS'] == 1
conf.define('MACHINA_VERSION', MACHINA_VERSION)
- conf.define('BUILD_GUI', build_gui)
+ conf.define('BUILD_MACHINA_GUI', int(build_gui))
if conf.env['BUNDLE']:
conf.define('MACHINA_DATA_DIR', os.path.normpath(
conf.env['DATADIRNAME'] + 'machina'))
@@ -52,13 +52,13 @@ def configure(conf):
autowaf.print_summary(conf)
autowaf.display_header('Machina Configuration')
autowaf.display_msg(conf, "Jack", str(conf.env['HAVE_JACK'] == 1))
- autowaf.display_msg(conf, "Build GUI", str(conf.env['BUILD_GUI'] == 1))
+ autowaf.display_msg(conf, "GUI", str(conf.env['BUILD_MACHINA_GUI'] == 1))
print
def build(bld):
bld.add_subdirs('src/engine')
- if bld.env['BUILD_GUI']:
+ if bld.env['BUILD_MACHINA_GUI']:
bld.add_subdirs('src/gui')
#bld.add_subdirs('src/machina')