summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 23:32:23 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 23:32:23 +0200
commit6942e14509be8bbdfb822f35b338619205dcdd78 (patch)
treeff05cbd4b639cf83946b90be9ad5ddf21ffcb0a1 /wscript
parent0a0eb91349101d6e73a1bd83491f7d4dc993723e (diff)
downloadingen-6942e14509be8bbdfb822f35b338619205dcdd78.tar.gz
ingen-6942e14509be8bbdfb822f35b338619205dcdd78.tar.bz2
ingen-6942e14509be8bbdfb822f35b338619205dcdd78.zip
Don't build client library if libsigc++ is not available
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index eac271fc..43440488 100644
--- a/wscript
+++ b/wscript
@@ -79,6 +79,8 @@ def configure(conf):
atleast_version='0.12.0', mandatory=False)
autowaf.check_pkg(conf, 'portaudio-2.0', uselib_store='PORTAUDIO',
atleast_version='2.0.0', mandatory=False)
+ autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP',
+ atleast_version='2.0.0', mandatory=False)
autowaf.check_function(conf, 'cxx', 'posix_memalign',
defines = '_POSIX_C_SOURCE=200809L',
@@ -153,7 +155,7 @@ def configure(conf):
conf.define('INGEN_SHARED', 1);
conf.define('INGEN_VERSION', INGEN_VERSION)
- if not Options.options.no_client:
+ if conf.env.HAVE_SIGCPP and not Options.options.no_client:
autowaf.define(conf, 'INGEN_BUILD_CLIENT', 1)
else:
Options.options.no_gui = True