fix for sstream

This commit is contained in:
Bill Hoffman 2002-06-21 08:39:01 -04:00
parent 3fc7253184
commit a39a03c4d4
1 changed files with 9 additions and 11 deletions

View File

@ -113,8 +113,7 @@ if test $ac_cv_prog_gxx = no; then
fi
AC_SUBST(CMAKE_NO_ANSI_STREAM_HEADERS)
# check non-g++ compilers to see if they have std::stringstream
if test $ac_cv_prog_gxx = no; then
# check compilers to see if they have std::stringstream
AC_MSG_CHECKING( for ansi standard C++ stringstream )
rm -rf conftest.*
cat > conftest.cc <<!
@ -126,7 +125,6 @@ if test $ac_cv_prog_gxx = no; then
CMAKE_NO_ANSI_STRING_STREAM="1"
echo "$ac_t""no" 1>&6
fi
fi
AC_SUBST(CMAKE_NO_ANSI_STRING_STREAM)
# check to see if stl is in the std namespace