1 2 3 4 5 6 7 8 9 10 11 12 13 14
# RTEMS_CHECK_CPUOPTS(define) AC_DEFUN([RTEMS_CHECK_CPUOPTS], [ AC_MSG_CHECKING([for $1]) AC_COMPILE_IFELSE([ #include <rtems/score/cpuopts.h> #ifndef $1 choke me #endif ], [rtems_cv_$1=yes], [rtems_cv_$1=no]) AC_MSG_RESULT([$rtems_cv_$1]) ])