aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acconfig.h2
-rw-r--r--configure.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 70814f4172..2069c0129b 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -15,6 +15,8 @@
#undef HAVE_TM_GMTOFF
#undef HAVE_KRB4
#undef NEED_KRB_SENDAUTH_PROTO
+#undef HAVE_HEIMDAL_KRB5
+#undef HAVE_MIT_KRB5
#undef HAVE_KRB5
#undef HAVE_NSS
#undef HAVE_OPENSSL
diff --git a/configure.in b/configure.in
index 05ec29f8da..6f6425a12b 100644
--- a/configure.in
+++ b/configure.in
@@ -629,8 +629,10 @@ if test "$x{with_krb5}" != "xno"; then
if test "$ac_cv_lib_kerberos5" != "no"; then
AC_DEFINE(HAVE_KRB5)
if test "$ac_cv_lib_kerberos5" == "$mitlibs"; then
+ AC_DEFINE(HAVE_MIT_KRB5)
msg_krb5="yes (MIT)"
else
+ AC_DEFINE(HAVE_HEIMDAL_KRB5)
msg_krb5="yes (Heimdal)"
fi
KRB5_CFLAGS="-I$with_krb5/include/krb5"