drop unnecessary conf.is_defined('HAVE_DBUS_1') since it is the same as conf.check_cfg(package='dbus-1', ...)

This commit is contained in:
Karl Lindén 2015-04-08 23:48:48 +02:00
parent f1c308e434
commit 213f3ba20a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def options(opt):
def configure(conf):
conf.env['BUILD_JACKDBUS'] = False
if not conf.check_cfg(package='dbus-1', atleast_version='1.0.0', args='--cflags --libs') or not conf.is_defined('HAVE_DBUS_1'):
if not conf.check_cfg(package='dbus-1', atleast_version='1.0.0', args='--cflags --libs'):
print(Logs.colors.RED + 'WARNING !! jackdbus will not be built because libdbus-dev is missing' + Logs.colors.NORMAL)
return