diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-24 21:15:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-24 21:15:12 (GMT) |
commit | 29f7f3a9ea28f063b84520421f1ef58698b26d84 (patch) | |
tree | 8f3172a8d627bc15f3b675c7ac5f63cf08745b61 /configure | |
parent | d1ca23a3f9980875dff593da718353c7b9151083 (diff) | |
download | CMake-29f7f3a9ea28f063b84520421f1ef58698b26d84.zip CMake-29f7f3a9ea28f063b84520421f1ef58698b26d84.tar.gz CMake-29f7f3a9ea28f063b84520421f1ef58698b26d84.tar.bz2 |
auto detect lang:std:
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2007,7 +2007,7 @@ echo $ECHO_N "checking ansi standard C++ stream headers ... $ECHO_C" >&6 cat > conftest.cc <<! #include <iostream> ! - if test -z "`${CXX} $CMAKE_TEMPLATE_FLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else cat >>confdefs.h <<\EOF @@ -2027,7 +2027,7 @@ echo $ECHO_N "checking ansi standard namespace support ... $ECHO_C" >&6 #include <list> void foo() { std::list<int> l; } ! - if test -z "`${CXX} $CMAKE_TEMPLATE_FLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else cat >>confdefs.h <<\EOF @@ -2046,7 +2046,7 @@ echo $ECHO_N "checking ansi for scope support ... $ECHO_C" >&6 cat > conftest.cc <<! void foo() { for(int i;;); for(int i;;); } ! - if test -z "`${CXX} $CMAKE_TEMPLATE_FLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + if test -z "`${CXX} $CMAKE_ANSI_CFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then echo "$ac_t""yes" 1>&6 else cat >>confdefs.h <<\EOF |