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=""