blob: b63ec06e7d18e23dc52397979275c6493845aed3 (
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
|
$NetBSD: patch-ac,v 1.11 2014/09/04 08:25:56 wiz Exp $
--- configure.orig 2014-07-30 09:54:53.000000000 +0000
+++ configure
@@ -2710,6 +2710,7 @@ $as_echo "$as_me: creating cache $cache_
fi
as_fn_append ac_header_list " locale.h"
+as_fn_append ac_header_list " rfuncs.h"
as_fn_append ac_header_list " sys/select.h"
as_fn_append ac_header_list " sys/uio.h"
as_fn_append ac_header_list " argp.h"
@@ -17195,7 +17196,7 @@ if ${ac_cv_lib_pthread_pthread_create+:}
$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. */
@@ -17873,7 +17874,7 @@ main ()
return 0;
}
_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
|