forked from Imagelibrary/rtems
2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: New.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/check-cpuopts.m4: New.
|
||||
* automake/compile.am: Remove RTEMS_CPPFLAGS, RTEMS_CFLAGS,
|
||||
RTEMS_CXXFLAGS.
|
||||
* aclocal/gcc-isystem.m4: Remove (Unused).
|
||||
|
||||
14
testsuites/aclocal/check-cpuopts.m4
Normal file
14
testsuites/aclocal/check-cpuopts.m4
Normal file
@@ -0,0 +1,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])
|
||||
])
|
||||
Reference in New Issue
Block a user