diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-09-23 14:51:33 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-09-23 14:51:33 +0000 |
commit | 101b1893abf156e877beefa08fb501baf3c988b5 (patch) | |
tree | af726d24daa8c503e24df55a54ba6542ee802f80 | |
parent | 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-101b1893abf156e877beefa08fb501baf3c988b5.tar.bz2 |
2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
-rw-r--r-- | testsuites/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/aclocal/check-cpuopts.m4 | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog index a25b4d9e33..4e0e4bc057 100644 --- a/testsuites/ChangeLog +++ b/testsuites/ChangeLog @@ -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 diff --git a/testsuites/aclocal/check-cpuopts.m4 b/testsuites/aclocal/check-cpuopts.m4 index 159c12777a..6137bc24de 100644 --- a/testsuites/aclocal/check-cpuopts.m4 +++ b/testsuites/aclocal/check-cpuopts.m4 @@ -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" ]) |