1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

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

pthread_rwlock_t

svn path=/trunk/m4/; revision=4481
This commit is contained in:
Karl Heyes 2003-03-13 03:52:02 +00:00
parent 1198cbb982
commit ce039a7e54

View File

@ -108,7 +108,7 @@ for flag in $acx_pthread_flags; do
# functions on Solaris that doesn't have a non-functional libc stub. # functions on Solaris that doesn't have a non-functional libc stub.
# We try pthread_create on general principles. # We try pthread_create on general principles.
AC_TRY_LINK([#include <pthread.h>], 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_attr_init(0); pthread_cleanup_push(0, 0);
pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
[acx_pthread_ok=yes]) [acx_pthread_ok=yes])