diff options
author | David Robillard <d@drobilla.net> | 2014-12-18 08:01:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-18 08:01:59 +0000 |
commit | 1dff3fea90f2dc43a8bfc782eb88512344c1b5ae (patch) | |
tree | e42f65698e27fad0dbc3d5e2b8e74d692d1fa31d /wscript | |
parent | b7b7be5aac1f82829a0f4cf013ab749f9e411d80 (diff) | |
download | patchage-1dff3fea90f2dc43a8bfc782eb88512344c1b5ae.tar.gz patchage-1dff3fea90f2dc43a8bfc782eb88512344c1b5ae.tar.bz2 patchage-1dff3fea90f2dc43a8bfc782eb88512344c1b5ae.zip |
Upgrade to waf 1.8.5.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5496 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -63,7 +63,7 @@ def configure(conf): if conf.env.DEST_OS == 'darwin': autowaf.check_pkg(conf, 'gtk-mac-integration', uselib_store='GTK_OSX', atleast_version='1.0.0', mandatory=True) - if conf.is_defined('HAVE_GTK_OSX'): + if conf.env.HAVE_GTK_OSX: autowaf.define(conf, 'PATCHAGE_GTK_OSX', 1) # Check for dladdr @@ -75,12 +75,12 @@ def configure(conf): mandatory=False) # Use Jack D-Bus if requested (only one jack driver is allowed) - if Options.options.jack_dbus and conf.is_defined('HAVE_DBUS') and conf.is_defined('HAVE_DBUS_GLIB'): + if Options.options.jack_dbus and conf.env.HAVE_DBUS and conf.env.HAVE_DBUS_GLIB: autowaf.define(conf, 'HAVE_JACK_DBUS', 1) else: autowaf.check_pkg(conf, 'jack', uselib_store='JACK', atleast_version='0.120.0', mandatory=False) - if conf.is_defined('HAVE_JACK'): + if conf.env.HAVE_JACK: autowaf.define(conf, 'PATCHAGE_LIBJACK', 1) if Options.options.jack_session_manage: autowaf.define(conf, 'PATCHAGE_JACK_SESSION', 1) @@ -115,13 +115,13 @@ def configure(conf): autowaf.display_msg(conf, "Install name", "'" + conf.env.APP_INSTALL_NAME + "'", 'CYAN') autowaf.display_msg(conf, "App human name", "'" + conf.env.APP_HUMAN_NAME + "'", 'CYAN') - autowaf.display_msg(conf, "Jack (D-Bus)", conf.is_defined('HAVE_JACK_DBUS')) + autowaf.display_msg(conf, "Jack (D-Bus)", bool(conf.env.HAVE_JACK_DBUS)) autowaf.display_msg(conf, "Jack (libjack)", conf.is_defined('PATCHAGE_LIBJACK')) autowaf.display_msg(conf, "Jack Session Management", conf.is_defined('PATCHAGE_JACK_SESSION')) autowaf.display_msg(conf, "Jack Metadata", conf.is_defined('HAVE_JACK_METADATA')) - autowaf.display_msg(conf, "Alsa Sequencer", conf.is_defined('HAVE_ALSA')) + autowaf.display_msg(conf, "Alsa Sequencer", bool(conf.env.HAVE_ALSA)) if conf.env.DEST_OS == 'darwin': - autowaf.display_msg(conf, "Mac Integration", conf.is_defined('HAVE_GTK_OSX')) + autowaf.display_msg(conf, "Mac Integration", bool(conf.env.HAVE_GTK_OSX)) print('') @@ -144,12 +144,12 @@ def build(bld): src/PatchageModule.cpp src/main.cpp ''' - if bld.is_defined('HAVE_JACK_DBUS'): + if bld.env.HAVE_JACK_DBUS: prog.source += ' src/JackDbusDriver.cpp ' if bld.is_defined('PATCHAGE_LIBJACK'): prog.source += ' src/JackDriver.cpp ' prog.uselib += ' JACK NEWJACK ' - if bld.is_defined('HAVE_ALSA'): + if bld.env.HAVE_ALSA: prog.source += ' src/AlsaDriver.cpp ' prog.uselib += ' ALSA ' if bld.is_defined('PATCHAGE_BINLOC'): |