mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 04:50:03 -04:00
31 lines
874 B
Plaintext
31 lines
874 B
Plaintext
$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
|