Mike Dodd | 8cfa702 | 2010-11-17 11:12:26 -0800 | [diff] [blame] | 1 | dnl AX_CHECK_SSTREAM - check if local sstream is needed to compile OK |
2 | AC_DEFUN([AX_CHECK_SSTREAM], | ||||
3 | [ | ||||
4 | AC_MSG_CHECKING([whether to use included sstream]) | ||||
5 | AC_TRY_COMPILE([#include <sstream>], [], | ||||
6 | AC_MSG_RESULT([no]);, | ||||
7 | AC_MSG_RESULT([yes]); OP_CXXFLAGS="$OP_CXXFLAGS -I\${top_srcdir}/include") | ||||
8 | ] | ||||
9 | ) |