diff options
author | Rodney Dawes <dobey@ximian.com> | 2003-03-22 14:00:44 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2003-03-22 14:00:44 +0800 |
commit | 9643a66cfca22a94b70112a79c2669e852a79e0c (patch) | |
tree | 4f3b75ed18fc88e9e7ee816a357f6ef60898aa69 | |
parent | 2e5eb47695ee59d15af41686a9f091cfe2407ed0 (diff) | |
download | gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar.gz gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar.bz2 gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar.lz gsoc2013-evolution-9643a66cfca22a94b70112a79c2669e852a79e0c.tar.xz 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 13 |
2 files changed, 9 insertions, 8 deletions
@@ -1,3 +1,7 @@ +2003-03-21 Rodney Dawes <dobey@ximian.com> + + * configure.in: Fix the mit krb5+krb4 check to work with --without-kr5 + 2003-03-19 Ettore Perazzoli <ettore@ximian.com> * README: Updated considerably. 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 |