FreeSWITCH:

1. Some platforms failed in configure process while checking for working
PROCESS_SHARED locks. Perhaps, this is caused by apr_cv_process_shared_works
variable set to yes in configure.ac file. This commit will set the
variable to no and see if configure process will pass such test.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
This commit is contained in:
Mazi Lo 2014-10-28 02:25:39 -04:00
parent bbf8cd9a08
commit 8d0e8f3638

View file

@ -18,6 +18,15 @@
# rpl_malloc
export ac_cv_func_realloc_0_nonnull=yes
export ac_cv_func_malloc_0_nonnull=yes
@@ -248,7 +251,7 @@ if test "x${cross_compiling}" = "xyes";
export apr_cv_mutex_recursive=yes
export ac_cv_func_pthread_rwlock_init=yes
export apr_cv_type_rwlock_t=yes
- export apr_cv_process_shared_works=yes
+ export apr_cv_process_shared_works=no
export apr_cv_mutex_robust_shared=yes
;;
esac
@@ -378,9 +381,6 @@ elif test "x${ax_cv_c_compiler_vendor}"
elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC)