X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.in;h=52da348646694d6f04eb4899395c70448053990f;hb=74c8a62d1403d51315d58bd293b6284490e78003;hp=42c973b8045de87d74a469073af528610204f190;hpb=6cb032fd2ece4742e3516e0941507143f677e5cd;p=idzebra-moved-to-github.git diff --git a/configure.in b/configure.in index 42c973b..52da348 100644 --- a/configure.in +++ b/configure.in @@ -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.124 2005-05-24 20:39:02 adam Exp $ dnl AC_INIT(include/idzebra/version.h) AM_INIT_AUTOMAKE(idzebra,1.4.0) @@ -16,6 +16,11 @@ AM_PROG_LIBTOOL dnl dnl ------ headers AC_CHECK_HEADERS(sys/times.h unistd.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]) @@ -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`