summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-08 22:39:00 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commit1e2e3a0a0eb6436d37a9bdf5058c6ac133b90001 (patch)
treeb26dc3033dc420a314e9b88a9e7327f317f1c0f6 /wscript
parent990729f84f430dfa2788270474784011dc1f12e1 (diff)
Validate XML with xerces.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
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 <boost/regex.hpp>\n
int main() { boost::regex ex("a"); }\n