1dnl AX_KERNEL_OPTION(option, action-if-found, action-if-not-found) 2dnl see if autoconf.h defines the option 3AC_DEFUN([AX_KERNEL_OPTION], [ 4SAVE_CFLAGS=$CFLAGS 5CFLAGS="-I$KINC -O2 -D__KERNEL__" 6AC_TRY_COMPILE( [#include <linux/autoconf.h>], 7[ 8#ifndef $1 9break_me_hard(\\\); 10#endif 11],[$2],[$3],) 12CFLAGS=$SAVE_CFLAGS 13]) 14