summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-24 21:12:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-24 21:12:58 (GMT)
commitd1ca23a3f9980875dff593da718353c7b9151083 (patch)
tree423a11a1cac17de10111fbe13537fba5452cc8a5 /configure
parent03b77686b12b041d4ccb5e3cbc5d7fd12ee32649 (diff)
downloadCMake-d1ca23a3f9980875dff593da718353c7b9151083.zip
CMake-d1ca23a3f9980875dff593da718353c7b9151083.tar.gz
CMake-d1ca23a3f9980875dff593da718353c7b9151083.tar.bz2
auto detect lang:std:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 86b154e..95d3c9d 100755
--- a/configure
+++ b/configure
@@ -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} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+ if test -z "`${CXX} $CMAKE_TEMPLATE_FLAGS $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} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+ if test -z "`${CXX} $CMAKE_TEMPLATE_FLAGS $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} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
+ if test -z "`${CXX} $CMAKE_TEMPLATE_FLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
echo "$ac_t""yes" 1>&6
else
cat >>confdefs.h <<\EOF