fix to sstring stuff
This commit is contained in:
parent
20d9083455
commit
3fc7253184
18
configure.in
18
configure.in
@ -110,18 +110,16 @@ if test $ac_cv_prog_gxx = no; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# check non-g++ compilers to see if they have std::stringstream
|
# 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 )
|
||||||
AC_MSG_CHECKING( for ansi standard C++ stringstream )
|
rm -rf conftest.*
|
||||||
rm -rf conftest.*
|
cat > conftest.cc <<!
|
||||||
cat > conftest.cc <<!
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
!
|
!
|
||||||
if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $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
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
AC_DEFINE(CMAKE_NO_ANSI_STRING_STREAM)
|
AC_DEFINE(CMAKE_NO_ANSI_STRING_STREAM)
|
||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check to see if stl is in the std namespace
|
# check to see if stl is in the std namespace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user