Commit 9e565b1e authored by Karl Heyes's avatar Karl Heyes
Browse files

fix for certain versions of OS X which need thread options for finding


svn path=/trunk/m4/; revision=4481
parent 1e262d1e
......@@ -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.h>],
[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); ],
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment