From 2083d358367a2c0ebc29bfad195acd5296de5c00 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 20 Jun 2011 11:00:34 +0200 Subject: [PATCH] configure checks for libxml2/libxslt --- configure.ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 1.7.10.4