3 @@ -254,7 +254,7 @@ AX_COMPILER_VENDOR
4 if test "x${cross_compiling}" = "xyes"; then
5 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
7 - arm*-linux-gnueabi*|arm*-*-linux-gnueabi*)
8 + arm*-linux-gnueabi*|arm*-*-linux-*)
10 ac_cv_file__dev_ptmx=yes
12 @@ -273,7 +273,7 @@ if test "x${cross_compiling}" = "xyes";
13 export apr_cv_mutex_recursive=yes
14 export ac_cv_func_pthread_rwlock_init=yes
15 export apr_cv_type_rwlock_t=yes
16 - export apr_cv_process_shared_works=yes
17 + export apr_cv_process_shared_works=no
18 export apr_cv_mutex_robust_shared=yes
21 @@ -405,9 +405,6 @@ elif test "x${ax_cv_c_compiler_vendor}"
22 elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
23 APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC)
24 APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC)
25 - if test "$ac_cv_gcc_supports_w_no_unused_result" = yes; then
26 - APR_ADDTO(SWITCH_AM_CFLAGS, -Werror)
28 if test "${enable_64}" = "yes"; then
31 @@ -901,7 +898,6 @@ AC_CHECK_LIB(pthread, pthread_setschedpa
33 AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket))
35 -AC_CHECK_FILE(/dev/ptmx, [AC_DEFINE(HAVE_DEV_PTMX, 1, [Define if you have /dev/ptmx])])
36 AC_CHECK_LIB(util, openpty, [AC_DEFINE(HAVE_OPENPTY, 1, [Define if you have openpty()])])
38 AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[
39 @@ -1474,14 +1470,14 @@ AM_CONDITIONAL([HAVE_MYSQL],[test "$foun
43 -AC_CHECK_PROG(PERL,perl,[ac_cv_have_perl=yes],[ac_cv_have_perl=no])
44 +AC_CHECK_PROG(PERL,[perl],[ac_cv_have_perl=yes],[ac_cv_have_perl=no],[${STAGING_DIR}/../host/usr/bin])
45 +PERL=$as_dir/$ac_word$ac_exec_ext
47 # -a "x$ac_cv_have_EXTERN_h" != "xno"
49 if test "x$ac_cv_have_perl" != "xno"; then
51 - PERL_SITEDIR="`$PERL -MConfig -e 'print $Config{archlib}'`"
52 - PERL_LIBDIR="-L`$PERL -MConfig -e 'print $Config{archlib}'`/CORE"
53 + PERL_SITEDIR="`$PERL -MConfig -e 'print $Config{archlibexp}'`"
54 + PERL_LIBDIR="-L`$PERL -MConfig -e 'print $Config{archlibexp}'`/CORE"
55 PERL_LIBS="`$PERL -MConfig -e 'print $Config{libs}'`"
56 PERL_CFLAGS="-w -DMULTIPLICITY `$PERL -MExtUtils::Embed -e ccopts | sed -e 's|-arch x86_64 -arch i386||'` -DEMBED_PERL"
57 PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts| sed -e 's|-arch x86_64 -arch i386||'`"
58 @@ -1498,6 +1494,7 @@ if test "x$ac_cv_have_perl" != "xno"; th
59 AC_CHECK_LIB([perl], [perl_alloc], ac_cv_use_libperl=yes, ac_cv_use_libperl=no)
60 LDFLAGS="$save_LDFLAGS"
63 AC_SUBST(PERL_SITEDIR)