summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-30 22:01:22 +0000
committerDavid Robillard <d@drobilla.net>2009-05-30 22:01:22 +0000
commit2e802fe1337cec54522e5439742c7c450516cb31 (patch)
treedf34420324015cf5f2e1a4fa9fab14795d78f885 /wscript
parentb039c0a764f13fa0bb5a38147ed8e0f17c0931d3 (diff)
downloadlilv-2e802fe1337cec54522e5439742c7c450516cb31.tar.gz
lilv-2e802fe1337cec54522e5439742c7c450516cb31.tar.bz2
lilv-2e802fe1337cec54522e5439742c7c450516cb31.zip
Partial implementation of lv2 dynamic manifest extension (configure --dyn-manifest).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2057 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index b33166c..3a69a9a 100644
--- a/wscript
+++ b/wscript
@@ -42,6 +42,8 @@ def set_options(opt):
autowaf.set_options(opt)
opt.add_option('--no-jack', action='store_true', default=False, dest='no_jack',
help="Do not build JACK clients")
+ opt.add_option('--dyn-manifest', action='store_true', default=False, dest='dyn_manifest',
+ help="Build support for dynamic manifest extension [false]")
opt.add_option('--test', action='store_true', default=False, dest='build_tests',
help="Build unit tests")
@@ -53,6 +55,8 @@ def configure(conf):
autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.107.0', mandatory=False)
conf.env.append_value('CCFLAGS', '-std=c99')
conf.define('SLV2_VERSION', SLV2_VERSION)
+ if Options.options.dyn_manifest:
+ conf.define('SLV2_DYN_MANIFEST', 1)
conf.write_config_header('slv2-config.h')
conf.env['USE_JACK'] = conf.env['HAVE_JACK'] and not Options.options.no_jack