From 6942e14509be8bbdfb822f35b338619205dcdd78 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Apr 2019 23:32:23 +0200 Subject: Don't build client library if libsigc++ is not available --- wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1