repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kill off the last use of TRI::AsmName.
[llvm/avr.git]
/
autoconf
/
m4
/
single_cxx_check.m4
blob
21efa4bed353fbd35383fd48779cfd3c6f20cd02
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