summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-06-21 12:38:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-06-21 12:38:32 (GMT)
commit3fc7253184550456e7898c63a2584ff2acca0faa (patch)
treee278d075e6f45cba941f41e603231d3abacd8871 /configure.in
parent20d9083455459e179f7da5e3d1228609bb3231e7 (diff)
downloadCMake-3fc7253184550456e7898c63a2584ff2acca0faa.zip
CMake-3fc7253184550456e7898c63a2584ff2acca0faa.tar.gz
CMake-3fc7253184550456e7898c63a2584ff2acca0faa.tar.bz2
fix to sstring stuff
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in18
1 files changed, 8 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 21c772a..5b084e2 100644
--- a/configure.in
+++ b/configure.in
@@ -110,18 +110,16 @@ if test $ac_cv_prog_gxx = no; then
fi
# check non-g++ compilers to see if they have std::stringstream
-if test $ac_cv_prog_gxx = no; then
- AC_MSG_CHECKING( for ansi standard C++ stringstream )
- rm -rf conftest.*
- cat > conftest.cc <<!
+AC_MSG_CHECKING( for ansi standard C++ stringstream )
+rm -rf conftest.*
+cat > conftest.cc <<!
#include <sstream>
!
- 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_STRING_STREAM)
- echo "$ac_t""no" 1>&6
- fi
+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_STRING_STREAM)
+ echo "$ac_t""no" 1>&6
fi
# check to see if stl is in the std namespace