2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>

* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
This commit is contained in:
Ralf Corsepius
2010-09-23 14:53:11 +00:00
parent 5c758d1a8c
commit 0c3f1864d8
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* support/include/buffer_test_io.h: Add support for using printk for

View File

@@ -13,7 +13,7 @@ AS_IF([test "${enable_project_root+set}" = set],[
AC_CACHE_CHECK(
[for $1],
[rtems_cv_$1],
[AC_COMPILE_IFELSE([
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <rtems/system.h>
#ifndef $1
choke me
@@ -21,6 +21,6 @@ choke me
],
[rtems_cv_$1=yes],
[rtems_cv_$1=no])
])
])])
CPPFLAGS="$sav_CPPFLAGS"
])