Browse Source

specify mandatory=False when checking for expat so that the expat error message can be reached if expat is not found

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

+ 1
- 1
dbus/wscript View File

@@ -29,7 +29,7 @@ def configure(conf):
else:
conf.env['DBUS_SERVICES_DIR'] = os.path.normpath(conf.env['PREFIX'] + '/share/dbus-1/services')

conf.check(header_name='expat.h', define_name="HAVE_EXPAT")
conf.check(header_name='expat.h', define_name="HAVE_EXPAT", mandatory=False)

if conf.is_defined('HAVE_EXPAT'):
conf.env['LIB_EXPAT'] = ['expat']


Loading…
Cancel
Save