Add FreeSWITCH stable packages
[feed/telephony.git] / net / freeswitch-stable / patches / 030-fix-configure-ac.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -256,30 +256,6 @@ AX_COMPILER_VENDOR
4 # Set CC_FOR_BUILD
5 if test "x${cross_compiling}" = "xyes"; then
6 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
7 - case "$host" in
8 - arm*-linux-gnueabi*|arm*-*-linux-gnueabi*)
9 - # spandsp modem
10 - ac_cv_file__dev_ptmx=yes
11 - # libjs
12 - export ac_cv_va_copy=yes
13 - # srtp
14 - export ac_cv_file__dev_urandom=yes
15 - # rpl_malloc
16 - export ac_cv_func_realloc_0_nonnull=yes
17 - export ac_cv_func_malloc_0_nonnull=yes
18 - # apr
19 - export ac_cv_func_setpgrp_void=yes
20 - export ac_cv_file__dev_zero=yes
21 - export apr_cv_tcp_nodelay_with_cork=yes
22 - export ac_cv_file_dbd_apr_dbd_mysql_c=no
23 - export ac_cv_sizeof_ssize_t=4
24 - export apr_cv_mutex_recursive=yes
25 - export ac_cv_func_pthread_rwlock_init=yes
26 - export apr_cv_type_rwlock_t=yes
27 - export apr_cv_process_shared_works=yes
28 - export apr_cv_mutex_robust_shared=yes
29 - ;;
30 - esac
31 else
32 CC_FOR_BUILD='$(CC)'
33 fi
34 @@ -667,7 +643,7 @@ AC_ARG_ENABLE(core-pgsql-pkgconfig,
35 [AS_HELP_STRING([--disable-core-pgsql-pkgconfig], [Use pg_config to get PGQSL build options])],[enable_core_pgsql_pkgconfig="$enableval"],[enable_core_pgsql_pkgconfig="yes"])
36
37 if test x"$enable_core_pgsql_support" = x"yes" ; then
38 - AC_PATH_PROG([PG_CONFIG], [pg_config], [no])
39 + AC_PATH_PROG([PG_CONFIG], [pg_config], [no], ["${STAGING_DIR}"/usr/bin])
40 AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
41 if test "$PKG_CONFIG" = "no" \
42 || test x"$enable_core_pgsql_pkgconfig" = x"no" \