Check for Libxslt support PAZ-862
[pazpar2-moved-to-github.git] / configure.ac
index 93812df..e30ed52 100644 (file)
@@ -28,6 +28,11 @@ YAZ_INIT([static icu],[4.2.40])
 if test -z "$YAZLIB"; then
        AC_MSG_ERROR([YAZ development libraries missing])
 fi
+case $YAZINC in
+  *YAZ_HAVE_XSLT=1*) ;;
+  *) AC_MSG_ERROR([YAZ not compiled with Libxslt support]) ;;
+esac
+
 YAZ_DOC
 
 AC_SEARCH_LIBS([log],[m])