From ce039a7e542be2672baa88a1d16b918be33b6104 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Thu, 13 Mar 2003 03:52:02 +0000 Subject: [PATCH] fix for certain versions of OS X which need thread options for finding pthread_rwlock_t svn path=/trunk/m4/; revision=4481 --- m4/acx_pthread.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/acx_pthread.m4 b/m4/acx_pthread.m4 index d318ab01..e654cc0e 100644 --- a/m4/acx_pthread.m4 +++ b/m4/acx_pthread.m4 @@ -108,7 +108,7 @@ for flag in $acx_pthread_flags; do # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. AC_TRY_LINK([#include ], - [pthread_t th; pthread_join(th, 0); + [pthread_t th; pthread_rwlock_t rw; pthread_join(th, 0); pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], [acx_pthread_ok=yes])