• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dnl
2dnl AC_SINGLE_CXX_CHECK(CACHEVAR, FUNCTION, HEADER, PROGRAM)
3dnl                     $1,       $2,       $3,     $4,
4
5AC_DEFUN([AC_SINGLE_CXX_CHECK],
6[
7  AC_CACHE_CHECK([for $2 in $3], [$1],
8  [
9    AC_LANG_PUSH([C++])
10    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]][$3], [$4])],
11                      [$1][[=yes]],
12                      [$1][[=no]])
13    AC_LANG_POP([C++])
14  ])
15])
16
17