From: Adam Dickmeiss Date: Mon, 25 Mar 2013 08:31:34 +0000 (+0100) Subject: Check for Libxslt support in YAZ X-Git-Tag: v1.3.54~3^2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d4ecc19eb2ef64774f55e7d49dc64e25309d6896;p=metaproxy-moved-to-github.git Check for Libxslt support in YAZ and rely on definitions from yaz-config, rather than doing own xslt/xml2 checks. --- diff --git a/configure.ac b/configure.ac index 6291048..09008fb 100644 --- a/configure.ac +++ b/configure.ac @@ -70,19 +70,10 @@ if test -z "${BOOST_REGEX_LIB}"; then AC_MSG_ERROR([Boost regex development 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 +case $YAZPPINC in + *YAZ_HAVE_XSLT=1*) ;; + *) AC_MSG_ERROR([YAZ not compiled with Libxslt support]) ;; +esac AC_CHECK_HEADERS([sys/select.h sys/socket.h])