From: Adam Dickmeiss Date: Mon, 20 Jun 2011 09:00:34 +0000 (+0200) Subject: configure checks for libxml2/libxslt X-Git-Tag: v1.2.7~11 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;ds=sidebyside;h=2083d358367a2c0ebc29bfad195acd5296de5c00;p=metaproxy-moved-to-github.git configure checks for libxml2/libxslt --- diff --git a/configure.ac b/configure.ac index d58e72c..15b8d2e 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,20 @@ if test -z "${BOOST_TEST_LIB}"; then AC_MSG_ERROR([Boost unit test framework libraries required]) fi +xml_avail=false +xslt_avail=false +YAZ_LIBXML2([xml_avail=true]) +if $xml_avail; then + YAZ_LIBXSLT([xslt_avail=true]) +else + AC_MSG_ERROR([Libxml2 development files not found]) +fi +if $xslt_avail; then + : +else + AC_MSG_ERROR([Libxslt development files not found]) +fi + AC_CHECK_HEADERS([sys/select.h sys/socket.h]) if test -d ${srcdir}/.git; then