added test for sstream
This commit is contained in:
parent
6f43b06ca5
commit
7ba23949a1
1 changed files with 4 additions and 4 deletions
|
|
@ -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})
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue