summaryrefslogtreecommitdiff
path: root/security/gpgme/patches/patch-ac
blob: 7354bc2883c81171b04cdf63b2db3082eea6d939 (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
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-ac,v 1.5 2006/07/19 22:59:59 wiz Exp $

--- configure.orig	2005-10-01 21:13:49.000000000 +0000
+++ configure
@@ -19878,12 +19878,12 @@ _ACEOF
 
 	fi
 	echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6
 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread  $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -20019,7 +20019,7 @@ fi
 
 # Checks for header files.
 
-for ac_header in sys/select.h
+for ac_header in rfuncs.h sys/select.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -22190,7 +22190,7 @@ esac
 fi
 GPGSM=$ac_cv_path_GPGSM
 
-if test -n "$GPGSM"; then
+if test "$GPGSM" != no; then
   echo "$as_me:$LINENO: result: $GPGSM" >&5
 echo "${ECHO_T}$GPGSM" >&6
 else