Browse Source

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

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
213f3ba20a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dbus/wscript

+ 1
- 1
dbus/wscript View File

@@ -12,7 +12,7 @@ def options(opt):
def configure(conf): def configure(conf):
conf.env['BUILD_JACKDBUS'] = False 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) print(Logs.colors.RED + 'WARNING !! jackdbus will not be built because libdbus-dev is missing' + Logs.colors.NORMAL)
return return




Loading…
Cancel
Save