summaryrefslogtreecommitdiff
path: root/security/heimdal/files/patch-configure
blob: 090c916d35c9d1637ef1df65ddf726336f2b5978 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
--- configure.orig	2022-11-15 10:58:55.000000000 -0800
+++ configure	2022-11-24 07:15:39.173234000 -0800
@@ -819,6 +819,8 @@
 PKG_CONFIG
 PKINIT_FALSE
 PKINIT_TRUE
+KX509_FALSE
+KX509_TRUE
 OPENLDAP_MODULE_FALSE
 OPENLDAP_MODULE_TRUE
 LIB_openldap
@@ -14915,7 +14917,7 @@
   done
 IFS=$as_save_IFS
 
-  test -z "$ac_cv_prog_CLANG_FORMAT" && ac_cv_prog_CLANG_FORMAT="no"
+  test -z "$ac_cv_prog_CLANG_FORMAT" && ac_cv_prog_CLANG_FORMAT=""
 fi
 fi
 CLANG_FORMAT=$ac_cv_prog_CLANG_FORMAT
@@ -16561,9 +16563,15 @@
 printf "%s\n" "#define KX509 1" >>confdefs.h
 
 fi
+ if test "$enable_kx509" != no; then
+  KX509_TRUE=
+  KX509_FALSE='#'
+else
+  KX509_TRUE='#'
+  KX509_FALSE=
+fi
 
 
-
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 	if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -17649,7 +17657,7 @@
     ;;
 *-*-freebsd*)
 	native_pthread_support=yes
-	PTHREAD_LIBADD="-pthread"
+	PTHREAD_LIBADD="-lpthread"
 	;;
 *-*-openbsd*)
 	native_pthread_support=yes
@@ -17907,7 +17915,7 @@
   printf %s "(cached) " >&6
 else $as_nop
 
-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-6 db-5 db4 db3 db; do
 		case "$ac_lib" in
@@ -18448,6 +18456,9 @@
 
 printf "%s\n" "#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
@@ -30678,7 +30689,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
 
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compile_et has the features we need" >&5
@@ -31185,6 +31196,10 @@
 fi
 if test -z "${PKINIT_TRUE}" && test -z "${PKINIT_FALSE}"; then
   as_fn_error $? "conditional \"PKINIT\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${KX509_TRUE}" && test -z "${KX509_FALSE}"; then
+  as_fn_error $? "conditional \"KX509\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${HAVE_CAPNG_TRUE}" && test -z "${HAVE_CAPNG_FALSE}"; then