summaryrefslogtreecommitdiff
path: root/security/heimdal/files/patch-configure
blob: 7644e01c779c2e77442904bea8e4e92e32b83f55 (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
28
29
30
31
32
33
34
35
36
37
38
39
--- configure.orig	2016-12-20 04:24:03 UTC
+++ configure
@@ -16126,7 +16126,7 @@
     ;;
 *-*-freebsd*)
 	native_pthread_support=yes
-	PTHREAD_LIBADD="-pthread"
+	PTHREAD_LIBADD="-lpthread"
 	;;
 *-*-openbsd*)
 	native_pthread_support=yes
@@ -16362,7 +16362,7 @@
   $as_echo_n "(cached) " >&6
 else
 
-if eval "test \"\$ac_cv_func_db_create\" != yes" ; then
+if eval "test \"\$ac_cv_func_db_create\" = yes" ; then
 	ac_save_LIBS="$LIBS"
 	for ac_lib in "" $dbheader db-5 db5 db4 db3 db; do
 		case "$ac_lib" in
@@ -16935,6 +16935,9 @@
 
 $as_echo "#define HAVE_NDBM 1" >>confdefs.h
       have_ndbm=yes
+      if test "$db_type" = "unknown"; then
+      db_type=ndbm
+      fi
     else
 
       $as_unset ac_cv_func_dbm_firstkey
@@ -28685,7 +28688,7 @@
 
 krb_cv_compile_et="no"
 krb_cv_com_err_need_r=""
-krb_cv_compile_et_cross=no
+krb_cv_compile_et_cross=yes
 if test "${COMPILE_ET}" != "no"; then
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compile_et has the features we need" >&5