diff options
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -990,7 +990,7 @@ echo "configure:989: checking ansi standard C++ stream headers " >&5 cat > conftest.cc <<! #include <iostream> ! - if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else cat >> confdefs.h <<\EOF @@ -1010,7 +1010,7 @@ echo "configure:1008: checking ansi standard namespace support " >&5 #include <list> void foo() { std::list<int> l; } ! - if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else cat >> confdefs.h <<\EOF @@ -1029,7 +1029,7 @@ echo "configure:1028: checking ansi for scope support " >&5 cat > conftest.cc <<! void foo() { for(int i;;); for(int i;;); } ! - if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else cat >> confdefs.h <<\EOF diff --git a/configure.in b/configure.in index 77546fb..027a341 100644 --- a/configure.in +++ b/configure.in @@ -104,7 +104,7 @@ if test $ac_cv_prog_gxx = no; then cat > conftest.cc <<! #include <iostream> ! - if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else AC_DEFINE(CMAKE_NO_ANSI_STREAM_HEADERS) @@ -120,7 +120,7 @@ if test $ac_cv_prog_gxx = no; then #include <list> void foo() { std::list<int> l; } ! - if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else AC_DEFINE(CMAKE_NO_STD_NAMESPACE) @@ -135,7 +135,7 @@ if test $ac_cv_prog_gxx = no; then cat > conftest.cc <<! void foo() { for(int i;;); for(int i;;); } ! - if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else AC_DEFINE(CMAKE_NO_ANSI_FOR_SCOPE) |