added test for sstream

This commit is contained in:
Dave Goodwin 2004-05-17 23:22:59 +00:00
parent 6f43b06ca5
commit 7ba23949a1

View file

@ -483,17 +483,17 @@ AC_MSG_RESULT(${precompile_headers})
has_sstream=no
AC_MSG_CHECKING(for sstream)
cat >> teststream.cpp << \EOF
cat >> testsstream.cpp << EOF
#include <sstream>
main() {}
EOF
msg=`$CXX -c testsstream &> /dev/null`
msg=`${CXX} -c testsstream.cpp &> /dev/null`
if test -f testsstream.o; then
has_sstream=yes
rm teststream.o
rm testsstream.o
AC_DEFINE(HAS_SSTREAM)
fi
rm teststream.cpp
rm -f testsstream.cpp
AC_MSG_RESULT(${has_sstream})