summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-07 02:37:15 +0000
committerDavid Robillard <d@drobilla.net>2010-01-07 02:37:15 +0000
commit1c217d7a8af8842f9b602383bb0b3e4a49209082 (patch)
tree00cce89daa281633099a1c5d05352c64943ff4e3
parent4e8811b819e66b72befe4eb2012f36fcae438a5c (diff)
downloadingen-1c217d7a8af8842f9b602383bb0b3e4a49209082.tar.gz
ingen-1c217d7a8af8842f9b602383bb0b3e4a49209082.tar.bz2
ingen-1c217d7a8af8842f9b602383bb0b3e4a49209082.zip
Add option to build without HTTP support.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2355 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript9
1 files changed, 6 insertions, 3 deletions
diff --git a/wscript b/wscript
index e9321373..81af4b57 100644
--- a/wscript
+++ b/wscript
@@ -20,8 +20,10 @@ 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',
+ opt.add_option('--no-osc', action='store_true', default=False, dest='no_osc',
help="Do not build OSC via liblo support, even if liblo exists")
+ opt.add_option('--no-http', action='store_true', default=False, dest='no_http',
+ help="Do not build HTTP via libsoup support, even if libsoup exists")
opt.add_option('--log-debug', action='store_true', default=False, dest='log_debug',
help="Print debugging output")
@@ -39,9 +41,10 @@ def configure(conf):
autowaf.check_pkg(conf, 'flowcanvas', uselib_store='FLOWCANVAS', atleast_version='0.5.1', mandatory=False)
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML2', atleast_version='2.6.0', mandatory=False)
autowaf.check_pkg(conf, 'libglademm-2.4', uselib_store='GLADEMM', atleast_version='2.6.0', mandatory=False)
- autowaf.check_pkg(conf, 'libsoup-2.4', uselib_store='SOUP', atleast_version='2.4.0', mandatory=False)
+ if not Options.options.no_http:
+ autowaf.check_pkg(conf, 'libsoup-2.4', uselib_store='SOUP', atleast_version='2.4.0', mandatory=False)
autowaf.check_header(conf, 'ladspa.h', 'HAVE_LADSPA_H', mandatory=False)
- if not Options.options.no_liblo:
+ if not Options.options.no_osc:
autowaf.check_pkg(conf, 'liblo', uselib_store='LIBLO', atleast_version='0.25', mandatory=False)
autowaf.check_pkg(conf, 'redlandmm', uselib_store='REDLANDMM', atleast_version='0.0.0', mandatory=False)