1 dnl AC_SINGLE_CXX_CHECK(CACHEVAR, FUNCTION, HEADER, PROGRAM)
2 dnl $1, $2, $3, $4,
3 dnl
4 AC_DEFUN([AC_SINGLE_CXX_CHECK],
5 [AC_CACHE_CHECK([for $2 in $3], [$1],
6 [AC_LANG_PUSH([C++])
7 AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#include $3],[$4]),[$1=yes],[$1=no])
8 AC_LANG_POP([C++])])
9 ])
10
11