remove configure check for libxml and check for expat instead
This commit is contained in:
parent
8ccd4445de
commit
0f9047c699
10
wscript
10
wscript
|
@ -64,12 +64,10 @@ def configure(conf):
|
||||||
errmsg = "not installed, see http://e2fsprogs.sourceforge.net/",
|
errmsg = "not installed, see http://e2fsprogs.sourceforge.net/",
|
||||||
args = '--cflags --libs')
|
args = '--cflags --libs')
|
||||||
|
|
||||||
conf.check_cfg(
|
conf.check(header_name='expat.h', define_name="HAVE_EXPAT")
|
||||||
package = 'libxml-2.0',
|
|
||||||
atleast_version = '2.0.0',
|
if conf.is_defined('HAVE_EXPAT'):
|
||||||
mandatory = True,
|
conf.env['LIB_EXPAT'] = ['expat']
|
||||||
errmsg = "not installed, see http://xmlsoft.org/",
|
|
||||||
args = '--cflags --libs')
|
|
||||||
|
|
||||||
conf.check_cfg(
|
conf.check_cfg(
|
||||||
package = 'dbus-glib-1',
|
package = 'dbus-glib-1',
|
||||||
|
|
Loading…
Reference in New Issue