diff options
author | David Robillard <d@drobilla.net> | 2008-10-06 02:32:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-06 02:32:46 +0000 |
commit | 128f69af72115e7b68005b9320745062f1e556c2 (patch) | |
tree | 53577b08aac2d757132ccda672bea0a613c0f621 | |
parent | 7d54c7a3831bde7a99a3b7824d2304da7c5715b0 (diff) | |
download | ingen-128f69af72115e7b68005b9320745062f1e556c2.tar.gz ingen-128f69af72115e7b68005b9320745062f1e556c2.tar.bz2 ingen-128f69af72115e7b68005b9320745062f1e556c2.zip |
Add option to avoid use of liblo, even if present.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1625 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21,6 +21,8 @@ def set_options(opt): help="Ingen data install directory [Default: PREFIX/share/ingen]") opt.add_option('--module-dir', type='string', dest='moduledir', help="Ingen module install directory [Default: PREFIX/lib/ingen]") + opt.add_option('--no-liblo', action='store_true', default=False, dest='no_liblo', + help="Do not build OSC via liblo support, even if liblo exists") def configure(conf): autowaf.configure(conf) @@ -36,7 +38,8 @@ def configure(conf): autowaf.check_pkg(conf, 'libglademm-2.4', destvar='GLADEMM', vnum='2.6.0', mandatory=False) autowaf.check_pkg(conf, 'libsoup-2.4', destvar='SOUP', vnum='2.4.0', mandatory=False) autowaf.check_header(conf, 'ladspa.h', 'HAVE_LADSPA', mandatory=False) - autowaf.check_pkg(conf, 'liblo', destvar='LIBLO', vnum='0.25', mandatory=False) + if not Params.g_options.no_liblo: + autowaf.check_pkg(conf, 'liblo', destvar='LIBLO', vnum='0.25', mandatory=False) autowaf.check_pkg(conf, 'redlandmm', destvar='REDLANDMM', vnum='0.0.0', mandatory=False) conf.define('INGEN_VERSION', INGEN_VERSION) |