summaryrefslogtreecommitdiff
blob: cdba95285b6603032d701c47a43dd7e66f3d12c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- /tmp/configure.in	2004-02-22 10:23:16.711353561 +0000
+++ configure.in	2004-02-22 10:26:37.916800464 +0000
@@ -465,15 +465,13 @@
         else
           AC_MSG_RESULT([found])
           ac_krblibs="-lcom_err"
-           AC_CHECK_LIB(crypto,
-             krb5_des_string_to_key,
-             libk5crypto=-lcrypto,
-                AC_CHECK_LIB(k5crypto,
-                   krb5_des_string_to_key,
-                   libk5crypto=-lk5crypto,
-                      AC_ERROR([Kerberos 5 DES libraries not found]),
-                   ${LDEFLAGS} ${ac_krblibs}),
-                 ${LDEFLAGS} ${ac_krblibs})
+           AC_CHECK_LIB(crypto, krb5_des_string_to_key, libk5crypto=-lcrypto,
+             AC_CHECK_LIB(k5crypto, krb5_des_string_to_key, libk5crypto=-lk5crypto,
+               AC_CHECK_LIB(k5crypto, krb5int_des_string_to_key, libk5crypto=-lk5crypto,
+                 AC_ERROR([Kerberos 5 DES libraries not found]),
+               ${LDEFLAGS} ${ac_krblibs}),
+             ${LDEFLAGS} ${ac_krblibs}),
+           ${LDEFLAGS} ${ac_krblibs})
         fi
         AC_CHECK_LIB(krb5, krb5_init_context,[],
            continue,