blob: ce1c4ad6646c902f8e7c79a6da9401b82753b9bd (
plain) (
blame)
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
26
27
|
--- configure.in.orig Sun Dec 10 21:19:36 2000
+++ configure.in Thu Jan 4 08:49:14 2001
@@ -83,6 +83,10 @@
LIB_openldap="-rpath $openldap_libdir $LIB_openldap"
fi
+dnl Kerberos 4 libraries are quite likely to need to link against
+dnl libcom_err.
+AC_CHECK_LIB(com_err, init_error_table)
+
AC_TEST_PACKAGE_NEW(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4)
LIB_kdb=
@@ -561,7 +565,12 @@
\( "$ac_cv_func_SHA1Init" = "yes" -o "$ac_cv_func_SHA1_Init" = "yes" \) -a \
"$ac_cv_func_RC4" = "yes"; then
DIR_des=''
- LIB_des="-rpath $krb4_libdir -L$krb4_libdir $ac_cv_funclib_MD4Init"
+ LIB_des="-rpath $krb4_libdir -L$krb4_libdir"
+ if test "$ac_cv_func_MD4Init" = "yes"; then
+ LIB_des="$LIB_des $ac_cv_funclib_MD4Init"
+ else
+ LIB_des="$LIB_des $ac_cv_funclib_MD4_Init"
+ fi
else
DIR_des='des'
LIB_des='$(top_builddir)/lib/des/libdes.la'
|