aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-01-29 08:31:48 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-29 08:31:48 +0800
commit45f610c510c9e577b88f5544a39fb1e1fcd3b85c (patch)
tree74d37febc46480d3e440fb97ec940834b8e089a1
parent0664becb605fafac08b830ac8257e4028056381b (diff)
downloadgsoc2013-evolution-45f610c510c9e577b88f5544a39fb1e1fcd3b85c.tar.gz
gsoc2013-evolution-45f610c510c9e577b88f5544a39fb1e1fcd3b85c.tar.zst
gsoc2013-evolution-45f610c510c9e577b88f5544a39fb1e1fcd3b85c.zip
conditionally define which krb5 impl we have
svn path=/trunk/; revision=19677
-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"