From 27a2cad0fcaa0c3733c0adf532d59df7ba3cde29 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 19 Jun 2002 15:09:33 -0400 Subject: ENH: Re-ran autoconf to include changes to corresponding configure input. This adds a test for the availability of sstream. --- configure | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index b3817bd490..f08f41fa93 100755 --- a/configure +++ b/configure @@ -978,7 +978,7 @@ fi -# check no g++ compilers to see if they have the standard +# check non-g++ compilers to see if they have the standard # ansi stream files (without the .h) if test $ac_cv_prog_gxx = no; then echo $ac_n "checking ansi standard C++ stream headers ""... $ac_c" 1>&6 @@ -998,10 +998,29 @@ EOF fi fi +# check non-g++ compilers to see if they have std::stringstream +if test $ac_cv_prog_gxx = no; then + echo $ac_n "checking for ansi standard C++ stringstream ""... $ac_c" 1>&6 +echo "configure:1005: checking for ansi standard C++ stringstream " >&5 + rm -rf conftest.* + cat > conftest.cc < +! + if test -z "`${CXX} $CMAKE_ANSI_CXXFLAGS $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then + echo "$ac_t""yes" 1>&6 + else + cat >> confdefs.h <<\EOF +#define CMAKE_NO_ANSI_STRING_STREAM 1 +EOF + + echo "$ac_t""no" 1>&6 + fi +fi + # check to see if stl is in the std namespace if test $ac_cv_prog_gxx = no; then echo $ac_n "checking ansi standard namespace support ""... $ac_c" 1>&6 -echo "configure:1005: checking ansi standard namespace support " >&5 +echo "configure:1024: checking ansi standard namespace support " >&5 rm -rf conftest.* cat > conftest.cc < @@ -1021,7 +1040,7 @@ fi # check to see if for scoping is supported if test $ac_cv_prog_gxx = no; then echo $ac_n "checking ansi for scope support ""... $ac_c" 1>&6 -echo "configure:1025: checking ansi for scope support " >&5 +echo "configure:1044: checking ansi for scope support " >&5 rm -rf conftest.* cat > conftest.cc <&6 -echo "configure:1047: checking for $ac_word" >&5 +echo "configure:1066: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RUNMAKE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else -- cgit v1.2.1