43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
![]() |
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -256,30 +256,6 @@ AX_COMPILER_VENDOR
|
||
|
# Set CC_FOR_BUILD
|
||
|
if test "x${cross_compiling}" = "xyes"; then
|
||
|
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
|
||
|
- case "$host" in
|
||
|
- arm*-linux-gnueabi*|arm*-*-linux-gnueabi*)
|
||
|
- # spandsp modem
|
||
|
- ac_cv_file__dev_ptmx=yes
|
||
|
- # libjs
|
||
|
- export ac_cv_va_copy=yes
|
||
|
- # srtp
|
||
|
- export ac_cv_file__dev_urandom=yes
|
||
|
- # rpl_malloc
|
||
|
- export ac_cv_func_realloc_0_nonnull=yes
|
||
|
- export ac_cv_func_malloc_0_nonnull=yes
|
||
|
- # apr
|
||
|
- export ac_cv_func_setpgrp_void=yes
|
||
|
- export ac_cv_file__dev_zero=yes
|
||
|
- export apr_cv_tcp_nodelay_with_cork=yes
|
||
|
- export ac_cv_file_dbd_apr_dbd_mysql_c=no
|
||
|
- export ac_cv_sizeof_ssize_t=4
|
||
|
- 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_mutex_robust_shared=yes
|
||
|
- ;;
|
||
|
- esac
|
||
|
else
|
||
|
CC_FOR_BUILD='$(CC)'
|
||
|
fi
|
||
|
@@ -667,7 +643,7 @@ AC_ARG_ENABLE(core-pgsql-pkgconfig,
|
||
|
[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"])
|
||
|
|
||
|
if test x"$enable_core_pgsql_support" = x"yes" ; then
|
||
|
- AC_PATH_PROG([PG_CONFIG], [pg_config], [no])
|
||
|
+ AC_PATH_PROG([PG_CONFIG], [pg_config], [no], ["${STAGING_DIR}"/usr/bin])
|
||
|
AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
|
||
|
if test "$PKG_CONFIG" = "no" \
|
||
|
|| test x"$enable_core_pgsql_pkgconfig" = x"no" \
|