2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>

* aclocal/check-cpuopts.m4: New.
This commit is contained in:
Ralf Corsepius
2005-11-09 01:55:43 +00:00
parent f4b797596c
commit d800e86714
2 changed files with 15 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org> 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: New.
* automake/compile.am: Remove RTEMS_CPPFLAGS, RTEMS_CFLAGS, * automake/compile.am: Remove RTEMS_CPPFLAGS, RTEMS_CFLAGS,
RTEMS_CXXFLAGS. RTEMS_CXXFLAGS.
* aclocal/gcc-isystem.m4: Remove (Unused). * aclocal/gcc-isystem.m4: Remove (Unused).

View 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])
])