From 1e2e3a0a0eb6436d37a9bdf5058c6ac133b90001 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 8 Dec 2019 22:39:00 +0100 Subject: Validate XML with xerces. --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 111eb5f0..1785b893 100644 --- a/wscript +++ b/wscript @@ -125,6 +125,7 @@ def configure(conf): Logs.error('Neither ImageMagick++ nor GraphicsMagick++ found: one or the other is required') conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=False) + conf.check_cfg(package='xerces-c', args='--cflags --libs', uselib_store='XERCES', mandatory=False) if conf.options.static: if conf.options.jpeg == 'oj2': @@ -195,7 +196,7 @@ def configure(conf): libpath='/usr/local/lib', lib=['boost_date_time%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix], uselib_store='BOOST_DATETIME') - + conf.check_cxx(fragment=""" #include \n int main() { boost::regex ex("a"); }\n -- cgit v1.2.3