summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-08 15:28:48 +0000
committerDavid Robillard <d@drobilla.net>2011-01-08 15:28:48 +0000
commitd95f3e089619d35873acdad4b79e3f7e0f6ccf15 (patch)
tree8352cefdcd74b436a62163221ca30e6e161ee9f0 /wscript
parent79fceb7b387cf45deab770a12f116493a24e5350 (diff)
downloadingen-d95f3e089619d35873acdad4b79e3f7e0f6ccf15.tar.gz
ingen-d95f3e089619d35873acdad4b79e3f7e0f6ccf15.tar.bz2
ingen-d95f3e089619d35873acdad4b79e3f7e0f6ccf15.zip
Fix configuration header define names to not stomp on global namespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2794 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index c1ad7422..e79e44db 100644
--- a/wscript
+++ b/wscript
@@ -84,7 +84,7 @@ def configure(conf):
build_gui = conf.env['HAVE_GLADEMM'] == 1 and conf.env['HAVE_FLOWCANVAS'] == 1
autowaf.define(conf, 'INGEN_VERSION', INGEN_VERSION)
- autowaf.define(conf, 'BUILD_INGEN_GUI', int(build_gui))
+ autowaf.define(conf, 'INGEN_BUILD_GUI', int(build_gui))
autowaf.define(conf, 'HAVE_JACK_MIDI', int(conf.env['HAVE_JACK'] == 1))
if conf.env['BUNDLE']:
autowaf.define(conf, 'INGEN_DATA_DIR', os.path.join(conf.env['DATADIRNAME'], 'ingen'))
@@ -94,7 +94,7 @@ def configure(conf):
autowaf.define(conf, 'INGEN_MODULE_DIR', conf.env['LIBDIR'])
if Options.options.log_debug:
- autowaf.define(conf, 'LOG_DEBUG', 1)
+ autowaf.define(conf, 'RAUL_LOG_DEBUG', 1)
if Options.options.liblo_bundles:
autowaf.define(conf, 'LIBLO_BUNDLES', 1)
@@ -106,7 +106,7 @@ def configure(conf):
autowaf.display_msg(conf, "HTTP", str(conf.env['HAVE_SOUP'] == 1))
autowaf.display_msg(conf, "LV2", str(conf.env['HAVE_SLV2'] == 1))
autowaf.display_msg(conf, "LADSPA", str(conf.env['HAVE_LADSPA_H'] == 1))
- autowaf.display_msg(conf, "GUI", str(conf.env['BUILD_INGEN_GUI'] == 1))
+ autowaf.display_msg(conf, "GUI", str(conf.env['INGEN_BUILD_GUI'] == 1))
print
def build(bld):
@@ -125,7 +125,7 @@ def build(bld):
bld.add_subdirs('src/shared')
bld.add_subdirs('src/client')
- if bld.env['BUILD_INGEN_GUI']:
+ if bld.env['INGEN_BUILD_GUI']:
bld.add_subdirs('src/gui')
# Program