From c10a2228f414e5c537ad57935b9ac7c0287b2f9d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 20 Jun 2013 07:24:37 -0700 Subject: [PATCH] Update included configure to match autoconf input. --- Makefile.in | 5 +- configure | 1055 ++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 958 insertions(+), 102 deletions(-) diff --git a/Makefile.in b/Makefile.in index 681cd64..ea6fd00 100644 --- a/Makefile.in +++ b/Makefile.in @@ -87,8 +87,9 @@ bin_PROGRAMS = cycript$(EXEEXT) subdir = . DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ - $(srcdir)/config.h.in depcomp COPYING ar-lib config.guess \ - config.rpath config.sub install-sh missing ltmain.sh + $(srcdir)/config.h.in depcomp COPYING INSTALL ar-lib \ + config.guess config.rpath config.sub install-sh missing \ + ltmain.sh ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/find_apr.m4 \ $(top_srcdir)/m4/framework.m4 $(top_srcdir)/m4/libtool.m4 \ diff --git a/configure b/configure index 5ff2d9f..fd56f77 100755 --- a/configure +++ b/configure @@ -816,7 +816,6 @@ enable_fast_install with_gnu_ld with_sysroot enable_libtool_lock -with_frameworks enable_javascript with_apr enable_rpath @@ -1492,8 +1491,6 @@ Optional Packages: --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). - --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include - path for frameworks with -F --with-apr=PATH prefix for installed APR or the full path to apr-config --with-gnu-ld assume the C compiler uses GNU ld [default=no] @@ -16441,6 +16438,8 @@ rm -f conftest.y + + if ${CFLAGS+:} false; then : case " $CFLAGS " in *" "*) @@ -16607,12 +16606,106 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-overloaded-virtual" >&5 -$as_echo_n "checking for -Wno-overloaded-virtual... " >&6; } + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5 +$as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; } + + cy_save=$CFLAGS + + for element in -Wno-deprecated-declarations; do + haveit= + for x in $CFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-deprecated-declarations; do + haveit= + for x in $CFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5 +$as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; } cy_save=$CXXFLAGS - for element in -Wno-overloaded-virtual; do + for element in -Wno-deprecated-declarations; do haveit= for x in $CXXFLAGS; do @@ -16651,8 +16744,143 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } + for element in -Wno-deprecated-declarations; do + haveit= + for x in $CXXFLAGS; do - for element in -Wno-overloaded-virtual; do + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=mm +ac_cpp='$OBJCXXCPP $CPPFLAGS' +ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5 +$as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; } + + cy_save=$OBJCXXFLAGS + + for element in -Wno-deprecated-declarations; do + haveit= + for x in $OBJCXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_objcxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + OBJCXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-deprecated-declarations; do + haveit= + for x in $OBJCXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5 +$as_echo_n "checking for cc -Wno-dangling-else... " >&6; } + + cy_save=$CFLAGS + + for element in -Wno-dangling-else; do haveit= for x in $CFLAGS; do @@ -16675,9 +16903,25 @@ $as_echo "yes" >&6; } done - for element in -Wno-overloaded-virtual; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-dangling-else; do haveit= - for x in $CXXFLAGS; do + for x in $CFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16693,14 +16937,511 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" fi done - for element in -Wno-overloaded-virtual; do +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5 +$as_echo_n "checking for c++ -Wno-dangling-else... " >&6; } + + cy_save=$CXXFLAGS + + for element in -Wno-dangling-else; do + haveit= + for x in $CXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-dangling-else; do + haveit= + for x in $CXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=mm +ac_cpp='$OBJCXXCPP $CPPFLAGS' +ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5 +$as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; } + + cy_save=$OBJCXXFLAGS + + for element in -Wno-dangling-else; do + haveit= + for x in $OBJCXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_objcxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + OBJCXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-dangling-else; do + haveit= + for x in $OBJCXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5 +$as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; } + + cy_save=$CFLAGS + + for element in -Wno-overloaded-virtual; do + haveit= + for x in $CFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-overloaded-virtual; do + haveit= + for x in $CFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5 +$as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; } + + cy_save=$CXXFLAGS + + for element in -Wno-overloaded-virtual; do + haveit= + for x in $CXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-overloaded-virtual; do + haveit= + for x in $CXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=mm +ac_cpp='$OBJCXXCPP $CPPFLAGS' +ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5 +$as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; } + + cy_save=$OBJCXXFLAGS + + for element in -Wno-overloaded-virtual; do + haveit= + for x in $OBJCXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_objcxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + OBJCXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-overloaded-virtual; do + haveit= + for x in $OBJCXXFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" + fi + done + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5 +$as_echo_n "checking for cc -Wno-parentheses... " >&6; } + + cy_save=$CFLAGS + + for element in -Wno-parentheses; do + haveit= + for x in $CFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + fi + done + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + for element in -Wno-parentheses; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $CFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16716,21 +17457,32 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" fi done - else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-parentheses" >&5 -$as_echo_n "checking for -Wno-parentheses... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5 +$as_echo_n "checking for c++ -Wno-parentheses... " >&6; } cy_save=$CXXFLAGS @@ -16773,10 +17525,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - for element in -Wno-parentheses; do haveit= - for x in $CFLAGS; do + for x in $CXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16792,14 +17543,38 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" fi done +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=mm +ac_cpp='$OBJCXXCPP $CPPFLAGS' +ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5 +$as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; } + + cy_save=$OBJCXXFLAGS + for element in -Wno-parentheses; do haveit= - for x in $CXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16815,14 +17590,30 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_objcxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + OBJCXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + for element in -Wno-parentheses; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16838,27 +17629,40 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done - else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-unneeded-internal-declaration" >&5 -$as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; } - cy_save=$CXXFLAGS + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5 +$as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; } + + cy_save=$CFLAGS for element in -Wno-unneeded-internal-declaration; do haveit= - for x in $CXXFLAGS; do + for x in $CFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16874,7 +17678,7 @@ $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; } fi done if test -z "$haveit"; then - CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + CFLAGS="${CFLAGS}${CFLAGS:+ }$element" fi done @@ -16883,19 +17687,18 @@ $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; } /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : cy_good=1 else cy_good=0 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$cy_save + CFLAGS=$cy_save if test "x$cy_good" = x1; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - for element in -Wno-unneeded-internal-declaration; do haveit= for x in $CFLAGS; do @@ -16919,6 +17722,30 @@ $as_echo "yes" >&6; } done +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5 +$as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; } + + cy_save=$CXXFLAGS + for element in -Wno-unneeded-internal-declaration; do haveit= for x in $CXXFLAGS; do @@ -16942,9 +17769,25 @@ $as_echo "yes" >&6; } done + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + CXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + for element in -Wno-unneeded-internal-declaration; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $CXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16960,28 +17803,38 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" fi done - else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -for cy_arch in ppc ppc64 i386 x86_64 armv6; do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5 -$as_echo_n "checking for -arch $cy_arch... " >&6; } - cy_save=$CXXFLAGS + ac_ext=mm +ac_cpp='$OBJCXXCPP $CPPFLAGS' +ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu - for element in "-arch $cy_arch"; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5 +$as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; } + + cy_save=$OBJCXXFLAGS + + for element in -Wno-unneeded-internal-declaration; do haveit= - for x in $CXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -16997,7 +17850,7 @@ $as_echo_n "checking for -arch $cy_arch... " >&6; } fi done if test -z "$haveit"; then - CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done @@ -17005,30 +17858,22 @@ $as_echo_n "checking for -arch $cy_arch... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -int -main () -{ - - ; - return 0; -} _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_objcxx_try_compile "$LINENO"; then : cy_good=1 else cy_good=0 fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXXFLAGS=$cy_save + OBJCXXFLAGS=$cy_save if test "x$cy_good" = x1; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - for element in "-arch $cy_arch"; do + for element in -Wno-unneeded-internal-declaration; do haveit= - for x in $CY_ARCH; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -17044,7 +17889,7 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - CY_ARCH="${CY_ARCH}${CY_ARCH:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done @@ -17054,21 +17899,24 @@ else $as_echo "no" >&6; } fi -done - + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -# Check whether --with-frameworks was given. -if test "${with_frameworks+set}" = set; then : - withval=$with_frameworks; - for cy_framework in $withval; do +for cy_arch in ppc ppc64 i386 x86_64 armv6; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5 +$as_echo_n "checking for -arch $cy_arch... " >&6; } + cy_save=$CXXFLAGS - for element in -F$cy_framework; do + for element in "-arch $cy_arch"; do haveit= - for x in $CFLAGS; do + for x in $CXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -17084,37 +17932,38 @@ if test "${with_frameworks+set}" = set; then : fi done if test -z "$haveit"; then - CFLAGS="${CFLAGS}${CFLAGS:+ }$element" + CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" fi done - for element in -F$cy_framework; do - haveit= - for x in $CXXFLAGS; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" +int +main () +{ - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element" - fi - done + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_link "$LINENO"; then : + cy_good=1 +else + cy_good=0 +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CXXFLAGS=$cy_save + if test "x$cy_good" = x1; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } - for element in -F$cy_framework; do + for element in "-arch $cy_arch"; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $CY_ARCH; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -17130,15 +17979,22 @@ if test "${with_frameworks+set}" = set; then : fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + CY_ARCH="${CY_ARCH}${CY_ARCH:+ }$element" fi done - done - +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi +done + + + + + @@ -17341,7 +18197,7 @@ $as_echo "yes" >&6; } for element in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -17357,7 +18213,7 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done @@ -17589,7 +18445,7 @@ $as_echo "yes" >&6; } for element in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -17605,7 +18461,7 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done @@ -17837,7 +18693,7 @@ $as_echo "yes" >&6; } for element in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -17853,7 +18709,7 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done @@ -18064,7 +18920,6 @@ fi - case $CY_EXECUTE in #( 1) : @@ -18209,7 +19064,7 @@ $as_echo "yes" >&6; } for element in `$PKG_CONFIG --cflags libffi`; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -18225,7 +19080,7 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done @@ -18435,7 +19290,7 @@ $as_echo "yes" >&6; } for element in `$PKG_CONFIG --cflags libffi`; do haveit= - for x in $OBJCCXXFLAGS; do + for x in $OBJCXXFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" @@ -18451,7 +19306,7 @@ $as_echo "yes" >&6; } fi done if test -z "$haveit"; then - OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element" + OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element" fi done -- 2.45.2