blob: bd8688f5c59c35bc9d3fdec2da540324d02a5431 (
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.4 2005/11/04 17:16:34 joerg Exp $
--- configure.orig 2004-10-22 12:52:27.000000000 -0600
+++ configure
@@ -19726,12 +19726,12 @@ _ACEOF
CFLAGS="$CFLAGS $PTH_CFLAGS"
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
@@ -19839,7 +19839,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
@@ -22011,7 +22011,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
|