From dd344aa9193665249f5da61666d751ae9a6a8af6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Mar 2011 01:16:34 +0000 Subject: Update for new waf/autowaf. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3097 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index a8eb761..ec364fa 100644 --- a/wscript +++ b/wscript @@ -132,11 +132,11 @@ def build(bld): src/StateManager.cpp src/main.cpp ''' - if bld.env['HAVE_JACK_DBUS']: + if bld.is_defined('HAVE_JACK_DBUS'): prog.source += ''' src/JackDbusDriver.cpp ''' - if bld.env['HAVE_LASH']: + if bld.is_defined('HAVE_LASH'): prog.source += ''' src/LashProxy.cpp src/LoadProjectDialog.cpp @@ -145,7 +145,7 @@ def build(bld): src/ProjectPropertiesDialog.cpp src/Session.cpp ''' - if bld.env['HAVE_LASH'] or bld.env['HAVE_JACK_DBUS']: + if bld.is_defined('HAVE_LASH') or bld.is_defined('HAVE_JACK_DBUS'): prog.source += ' src/DBus.cpp ' if bld.is_defined('PATCHAGE_LIBJACK'): prog.source += ' src/JackDriver.cpp ' -- cgit v1.2.1