and rely on definitions from yaz-config, rather than doing own
xslt/xml2 checks.
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])