Author: trawick Date: Sun Feb 20 16:47:18 2005 New Revision: 154587 URL: http://svn.apache.org/viewcvs?view=rev&rev=154587 Log: Fix detection of rwlocks on Mac OS X.
Submitted by: Aaron Bannert Reviewed by: Joe Orton, Jeff Trawick Modified: apr/apr/branches/0.9.x/CHANGES apr/apr/branches/0.9.x/configure.in Modified: apr/apr/branches/0.9.x/CHANGES URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/CHANGES?view=diff&r1=154586&r2=154587 ============================================================================== --- apr/apr/branches/0.9.x/CHANGES (original) +++ apr/apr/branches/0.9.x/CHANGES Sun Feb 20 16:47:18 2005 @@ -1,5 +1,7 @@ Changes with APR 0.9.7 + *) Fix detection of rwlocks on Mac OS X. [Aaron Bannert] + Changes with APR 0.9.6 *) Add apr_threadattr_stacksize_set() for overriding the default Modified: apr/apr/branches/0.9.x/configure.in URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/configure.in?view=diff&r1=154586&r2=154587 ============================================================================== --- apr/apr/branches/0.9.x/configure.in (original) +++ apr/apr/branches/0.9.x/configure.in Sun Feb 20 16:47:18 2005 @@ -539,7 +539,7 @@ dnl special things are defined. AC_CACHE_CHECK([for pthread_rwlock_t], [apr_cv_type_rwlock_t], AC_TRY_COMPILE([#include <sys/types.h> -#include <pthread.h>], [pthread_rwlock_t rwlock=PTHREAD_RWLOCK_INITIALIZER;], +#include <pthread.h>], [pthread_rwlock_t *rwlock;], [apr_cv_type_rwlock_t=yes], [AC_TRY_COMPILE([#define _XOPEN_SOURCE 500 #define _BSD_SOURCE