aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2003-03-22 14:00:44 +0800
committerRodney Dawes <dobey@src.gnome.org>2003-03-22 14:00:44 +0800
commit9643a66cfca22a94b70112a79c2669e852a79e0c (patch)
tree4f3b75ed18fc88e9e7ee816a357f6ef60898aa69 /configure.in
parent2e5eb47695ee59d15af41686a9f091cfe2407ed0 (diff)
downloadgsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar.gz
gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar.zst
gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.zip
Fix the mit krb5+krb4 check to work with --without-kr5
2003-03-21 Rodney Dawes <dobey@ximian.com> * configure.in: Fix the mit krb5+krb4 check to work with --without-kr5 svn path=/trunk/; revision=20464
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 5 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index dcd30208c3..f1d50f830f 100644
--- a/configure.in
+++ b/configure.in
@@ -623,14 +623,11 @@ if test "x${with_krb4}" != "xno"; then
AC_CACHE_CHECK(for Kerberos 4, ac_cv_lib_kerberos4,
[
ac_cv_lib_kerberos4="no"
-
- case $ac_cv_lib_kerberos5 in
- *k5crypto*)
- # Look for MIT krb5 compat krb4
- LDFLAGS="$LDFLAGS -L$with_krb4/lib -lkrb4 -ldes425 $KRB5_LDFLAGS"
- AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="-lkrb4 -ldes425 $KRB5_LDFLAGS")
- ;;
- esac
+
+ mitcompatlibs="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"
+ # Look for MIT krb5 compat krb4
+ LDFLAGS="$LDFLAGS -L$with_krb4/lib $mitcompatlibs"
+ AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="$mitcompatlibs")
if test "$ac_cv_lib_kerberos4" = "no"; then
# Look for KTH krb4