aboutsummaryrefslogtreecommitdiffstats
path: root/security/heimdal/files/patch-cc
blob: eaf8dbd2467276a7a124e4bc472bfdb20479eb59 (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.orig	Sun Dec 10 21:21:14 2000
+++ configure	Thu Jan  4 08:53:33 2001
@@ -9511,6 +9511,10 @@
 	LIB_openldap="-rpath $openldap_libdir $LIB_openldap"
 fi
 
+# Kerberos IV on FreeBSD depends on libcom_err
+LIBS="-lcom_err $LIBS"
+echo '#define HAVE_LIBCOM_ERR 1' >> confdefs.h
+
 # Check whether --with-krb4 or --without-krb4 was given.
 if test "${with_krb4+set}" = set; then
   withval="$with_krb4"
@@ -18164,7 +18168,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'