blob: 201e538a6fa550101dda2b10b1e0e2bd8fb753c5 (
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
38
39
40
|
$NetBSD: patch-ac,v 1.8 2011/03/04 11:34:12 obache Exp $
--- configure.orig 2010-01-11 11:06:55.000000000 +0000
+++ configure
@@ -16809,7 +16809,7 @@ if test "${ac_cv_lib_pthread_pthread_cre
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -16921,7 +16921,7 @@ fi
# Checks for header files.
-for ac_header in sys/select.h
+for ac_header in rfuncs.h sys/select.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_select_h" = x""yes; then :
@@ -17302,7 +17302,7 @@ else
/* end confdefs.h. */
__thread int foo;
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
gpgme_cv_tls_works=yes
else
gpgme_cv_tls_works=no
@@ -18105,7 +18105,7 @@ IFS=$as_save_IFS
esac
fi
GPGSM=$ac_cv_path_GPGSM
-if test -n "$GPGSM"; then
+if test "$GPGSM" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPGSM" >&5
$as_echo "$GPGSM" >&6; }
else
|