PageRenderTime 61ms CodeModel.GetById 37ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/3rd_party/llvm/autoconf/m4/single_cxx_check.m4

https://code.google.com/p/softart/
m4 | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | 7324f955ac95b8bfca85e28cb6234cd9 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, JSON, MPL-2.0-no-copyleft-exception, GPL-2.0, GPL-3.0, LGPL-3.0, BSD-2-Clause
 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