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:
parent
71f0a1806f
commit
ca66dd1c90
|
@ -29,7 +29,7 @@ def configure(conf):
|
||||||
else:
|
else:
|
||||||
conf.env['DBUS_SERVICES_DIR'] = os.path.normpath(conf.env['PREFIX'] + '/share/dbus-1/services')
|
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'):
|
if conf.is_defined('HAVE_EXPAT'):
|
||||||
conf.env['LIB_EXPAT'] = ['expat']
|
conf.env['LIB_EXPAT'] = ['expat']
|
||||||
|
|
Loading…
Reference in New Issue