git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35658
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
sed 's/^/| /' conftest.$ac_ext >&5
sed 's/^/| /' conftest.$ac_ext >&5
+ CXXFLAGS_OLD="$CXXFLAGS"
if test "$GCC" = yes ; then
if test "$GCC" = yes ; then
- CFLAGS="$CFLAGS -Werror"
+ CXXFLAGS="$CXXFLAGS -Werror"
fi
cat >conftest.$ac_ext <<_ACEOF
fi
cat >conftest.$ac_ext <<_ACEOF
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ CXXFLAGS="$CXXFLAGS_OLD"
sed 's/^/| /' conftest.$ac_ext >&5
sed 's/^/| /' conftest.$ac_ext >&5
+ CXXFLAGS_OLD="$CXXFLAGS"
if test "$GCC" = yes ; then
if test "$GCC" = yes ; then
- CFLAGS="$CFLAGS -Werror"
+ CXXFLAGS="$CXXFLAGS -Werror"
fi
cat >conftest.$ac_ext <<_ACEOF
fi
cat >conftest.$ac_ext <<_ACEOF
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ CXXFLAGS="$CXXFLAGS_OLD"
dnl converting between incompatible pointer types, so
dnl try to use it to get the correct behaviour at
dnl least with gcc (otherwise we'd always use size_t)
dnl converting between incompatible pointer types, so
dnl try to use it to get the correct behaviour at
dnl least with gcc (otherwise we'd always use size_t)
+ CXXFLAGS_OLD="$CXXFLAGS"
if test "$GCC" = yes ; then
if test "$GCC" = yes ; then
- CFLAGS="$CFLAGS -Werror"
+ CXXFLAGS="$CXXFLAGS -Werror"
+ CXXFLAGS="$CXXFLAGS_OLD"
dnl converting between incompatible pointer types, so
dnl try to use it to get the correct behaviour at
dnl least with gcc (otherwise we'd always use size_t)
dnl converting between incompatible pointer types, so
dnl try to use it to get the correct behaviour at
dnl least with gcc (otherwise we'd always use size_t)
+ CXXFLAGS_OLD="$CXXFLAGS"
if test "$GCC" = yes ; then
if test "$GCC" = yes ; then
- CFLAGS="$CFLAGS -Werror"
+ CXXFLAGS="$CXXFLAGS -Werror"
+ CXXFLAGS="$CXXFLAGS_OLD"