From 931cc463058d16da882ea8dda2fe78a0a259f59a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 19 May 2009 17:49:53 +0000 Subject: [PATCH] fix PTHREAD_MUTEX_RECURSIVE detection on SUSE 10 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13390 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/apr/.update | 2 +- libs/apr/build/apr_threads.m4 | 2 +- libs/apr/include/arch/unix/apr_arch_proc_mutex.h | 2 +- libs/apr/include/arch/unix/apr_arch_thread_mutex.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/apr/.update b/libs/apr/.update index 7558e70981..7c125ac53c 100644 --- a/libs/apr/.update +++ b/libs/apr/.update @@ -1 +1 @@ -Thu Mar 19 21:08:11 CDT 2009 +Tue May 19 13:49:44 EDT 2009 diff --git a/libs/apr/build/apr_threads.m4 b/libs/apr/build/apr_threads.m4 index 0c9fa33fb8..e111ff0212 100644 --- a/libs/apr/build/apr_threads.m4 +++ b/libs/apr/build/apr_threads.m4 @@ -224,7 +224,7 @@ AC_DEFUN(APR_CHECK_SIGWAIT_ONE_ARG,[ dnl Check for recursive mutex support (per SUSv3). AC_DEFUN([APR_CHECK_PTHREAD_RECURSIVE_MUTEX], [ AC_CACHE_CHECK([for recursive mutex support], [apr_cv_mutex_recursive], -[AC_TRY_RUN([#define _XOPEN_SOURCE=600 +[AC_TRY_RUN([#define _XOPEN_SOURCE 600 #include #include #include diff --git a/libs/apr/include/arch/unix/apr_arch_proc_mutex.h b/libs/apr/include/arch/unix/apr_arch_proc_mutex.h index de7ea511da..b836829ecc 100644 --- a/libs/apr/include/arch/unix/apr_arch_proc_mutex.h +++ b/libs/apr/include/arch/unix/apr_arch_proc_mutex.h @@ -18,7 +18,7 @@ #define PROC_MUTEX_H #ifndef _XOPEN_SOURCE -#define _XOPEN_SOURCE=600 +#define _XOPEN_SOURCE 600 #endif #include "apr.h" diff --git a/libs/apr/include/arch/unix/apr_arch_thread_mutex.h b/libs/apr/include/arch/unix/apr_arch_thread_mutex.h index 0db62715bb..08ea248ea8 100644 --- a/libs/apr/include/arch/unix/apr_arch_thread_mutex.h +++ b/libs/apr/include/arch/unix/apr_arch_thread_mutex.h @@ -18,7 +18,7 @@ #define THREAD_MUTEX_H #ifndef _XOPEN_SOURCE -#define _XOPEN_SOURCE=600 +#define _XOPEN_SOURCE 600 #endif #include "apr.h"