copied xslt.c filter over on alvis.c filter, to give alvis folks their own version
[idzebra-moved-to-github.git] / configure.in
index 42c973b..980e063 100644 (file)
@@ -1,5 +1,5 @@
 dnl Zebra, Index Data ApS, 1995-2005
-dnl $Id: configure.in,v 1.122 2005-05-11 12:39:36 adam Exp $
+dnl $Id: configure.in,v 1.127 2005-06-14 20:28:05 adam Exp $
 dnl
 AC_INIT(include/idzebra/version.h)
 AM_INIT_AUTOMAKE(idzebra,1.4.0)
@@ -15,7 +15,12 @@ AM_DISABLE_SHARED
 AM_PROG_LIBTOOL
 dnl
 dnl ------ headers
-AC_CHECK_HEADERS(sys/times.h unistd.h)
+AC_CHECK_HEADERS(sys/times.h sys/time.h unistd.h sys/resource.h)
+dnl ------ crypt
+AC_CHECK_LIB(crypt, crypt)
+if test "$ac_cv_lib_crypt_crypt" = "yes"; then
+       AC_CHECK_HEADERS(crypt.h)
+fi
 dnl
 dnl ------ threads
 AC_ARG_ENABLE(threads, [  --disable-threads       disable threads],[enable_threads=$enableval],[enable_threads=yes])
@@ -26,7 +31,7 @@ else
 fi
 dnl
 dnl ------ YAZ
-YAZ_INIT($yazflag,2.1.5)
+YAZ_INIT($yazflag,2.1.9)
 YAZ_DOC
 dnl ----- libXSLT
 AC_SUBST(XSLT_LIBS)
@@ -48,7 +53,7 @@ if test "$xsltdir" != "no"; then
                AC_MSG_RESULT($XSLT_VER)
                have_xslt_version=`echo "$XSLT_VER" | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`
                if test $have_xslt_version -lt 1001012; then
-                       AC_MSG_WARN([libXSLT too old. Use 1.1.12 or later])
+                       AC_MSG_WARN([libXSLT too old. Use 1.1.12 or later.])
                        XSLT_VER=""
                else
                        XSLT_LIBS=`$xsltdir/bin/xslt-config --libs`
@@ -343,6 +348,7 @@ AC_OUTPUT([
   test/dmoz/Makefile test/sort/Makefile test/zsh/Makefile
   test/marcxml/Makefile test/charmap/Makefile test/codec/Makefile
   test/espec/Makefile
+  test/filters/Makefile
   examples/Makefile examples/gils/Makefile examples/zthes/Makefile
   examples/marc21/Makefile
   idzebra.spec