1dnl AX_CHECK_SSTREAM - check if local sstream is needed to compile OK 2AC_DEFUN([AX_CHECK_SSTREAM], 3[ 4AC_MSG_CHECKING([whether to use included sstream]) 5AC_TRY_COMPILE([#include <sstream>], [], 6AC_MSG_RESULT([no]);, 7AC_MSG_RESULT([yes]); OP_CXXFLAGS="$OP_CXXFLAGS -I\${top_srcdir}/include") 8] 9) 10