fix ticket 14, waf configure now fails if expat is not found
This commit is contained in:
parent
2f97ac2bab
commit
bda0255efb
8
wscript
8
wscript
|
@ -77,10 +77,12 @@ def configure(conf):
|
|||
errmsg = "not installed, see http://e2fsprogs.sourceforge.net/",
|
||||
args = '--cflags --libs')
|
||||
|
||||
conf.check(header_name='expat.h', define_name="HAVE_EXPAT")
|
||||
conf.check(
|
||||
header_name='expat.h',
|
||||
mandatory = True,
|
||||
errmsg = "not installed, see http://expat.sourceforge.net/")
|
||||
|
||||
if conf.is_defined('HAVE_EXPAT'):
|
||||
conf.env['LIB_EXPAT'] = ['expat']
|
||||
conf.env['LIB_EXPAT'] = ['expat']
|
||||
|
||||
build_gui = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue