X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=09008fbe417e4fa64744240109e69d51d8859b0d;hb=d4ecc19eb2ef64774f55e7d49dc64e25309d6896;hp=62910485efcac2d59fd259e953f8f56d2acdd4e3;hpb=41bb035dfc40b470d8efbc27dcda5ac3f754df0e;p=metaproxy-moved-to-github.git 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])