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:51:33 +00:00
parent 913549fa12
commit 101b1893ab
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.
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4: Remove TI C4x and NIOS2 ports from

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