# Process this file with autoconf to produce a configure script.
AC_REVISION($Revision$)
AC_PREREQ(2.57)
-AC_INIT(mod_auth_kerb, 5.2, modauthkerb-developers@lists.sourceforge.net)
+AC_INIT(mod_auth_kerb, 5.3, modauthkerb-developers@lists.sourceforge.net)
AC_CONFIG_SRCDIR([src/mod_auth_kerb.c])
AC_CONFIG_HEADER([config.h])
AC_HELP_STRING([--with-krb5=dir],[use krb5 in dir]),
[ with_krb5="$withval" ])
+if test "x$with_krb5" = "xyes" ; then
+ with_krb5=""
+fi
+
+if test "x$with_krb4" = "xyes" ; then
+ with_krb4=""
+fi
+
if test "x$with_krb5" != "xno" ; then
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
else
with_krb5=yes
AC_DEFINE(KRB5)
+ AC_CHECK_LIB(krb5,
+ krb5_cc_new_unique,
+ [ AC_DEFINE(HAVE_KRB5_CC_NEW_UNIQUE) ])
# check for Heimdal
have_heimdal=""