summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 75cf78ce7f..371f214691 100644
--- a/wscript
+++ b/wscript
@@ -461,6 +461,8 @@ def configure(conf):
autowaf.check_header(conf, 'boost/signals2.hpp', mandatory = True)
+ autowaf.check_header(conf, 'jack/session.h', define="JACK_SESSION")
+
conf.check_cc(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n",
execute = "1",
mandatory = True,
@@ -524,6 +526,8 @@ def configure(conf):
autowaf.display_msg(conf, 'VST Support', opts.vst)
if opts.vst:
conf.define('VST_SUPPORT', 1)
+ if bool(conf.env['JACK_SESSION']):
+ conf.define ('HAVE_JACK_SESSION', 1)
autowaf.display_msg(conf, 'Wiimote Support', opts.wiimote)
if opts.wiimote:
conf.define('WIIMOTE',1)