diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-09 01:55:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-09 01:55:43 +0000 |
commit | d800e867140d7f24d97a372ee10efe2b6216514b (patch) | |
tree | 2e2ccea92fc259f7acec64f4ee01ed4ec96dbe88 /testsuites/aclocal | |
parent | Remove stray comment (diff) | |
download | rtems-d800e867140d7f24d97a372ee10efe2b6216514b.tar.bz2 |
2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: New.
Diffstat (limited to 'testsuites/aclocal')
-rw-r--r-- | testsuites/aclocal/check-cpuopts.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuites/aclocal/check-cpuopts.m4 b/testsuites/aclocal/check-cpuopts.m4 new file mode 100644 index 0000000000..dcbb3a7c4a --- /dev/null +++ b/testsuites/aclocal/check-cpuopts.m4 @@ -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]) +]) |