repo.or.cz
/
arla.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(clean): clean universal binary intermediate steps, too
[arla.git]
/
cf
/
try-compile-kernel.m4
blob
4e1d88c766c64f105ccba5a316cdc0fd8cf5e0ba
1
dnl
2
dnl $Id$
3
dnl
4
5
AC_DEFUN([AC_TRY_COMPILE_KERNEL],[
6
save_CFLAGS="$CFLAGS"
7
save_CC="$CC"
8
if test "X${KERNEL_CC}" != "X"; then
9
CC="$KERNEL_CC"
10
fi
11
CFLAGS="$CFLAGS $test_KERNEL_CFLAGS $KERNEL_CPPFLAGS"
12
AC_TRY_COMPILE([$1], [$2], [$3], [$4])
13
CFLAGS="$save_CFLAGS"
14
CC="$save_CC"
15
])