diff configure.in @ 19971:a09889110d34

(with-pop, with-kerberos): Need to check Kerberos libraries in reverse order, so that libraries will appear in the correct dependency order on the link line (and so that the configure checks themselves will work properly when early libraries depend on later ones).
author Karl Heuer <kwzh@gnu.org>
date Wed, 24 Sep 1997 16:11:32 +0000
parents f3a1613a2842
children 11f33d684e3e
line wrap: on
line diff
--- a/configure.in	Wed Sep 24 08:50:49 1997 +0000
+++ b/configure.in	Wed Sep 24 16:11:32 1997 +0000
@@ -1587,15 +1587,15 @@
 
 # These tell us which Kerberos-related libraries to use.
 if test "${with_kerberos+set}" = set; then
+  AC_CHECK_LIB(com_err, com_err)
+  AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
+  AC_CHECK_LIB(krb5, krb5_init_context)
   if test "${with_kerberos5+set}" != set; then
-    AC_CHECK_LIB(krb, krb_get_cred,,
-		 AC_CHECK_LIB(krb4, krb_get_cred))
     AC_CHECK_LIB(des, des_cbc_encrypt,,
 		 AC_CHECK_LIB(des425, des_cbc_encrypt))
+    AC_CHECK_LIB(krb, krb_get_cred,,
+		 AC_CHECK_LIB(krb4, krb_get_cred))
   fi
-  AC_CHECK_LIB(krb5, krb5_init_context)
-  AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
-  AC_CHECK_LIB(com_err, com_err)
 
   if test "${with_kerberos5+set}" = set; then
     AC_CHECK_HEADERS(krb5.h)