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

This commit is contained in:
Karl Lindén 2015-04-08 23:35:07 +02:00
parent 71f0a1806f
commit ca66dd1c90
1 changed files with 1 additions and 1 deletions

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']