diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-09-23 14:53:11 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-09-23 14:53:11 +0000 |
commit | 0c3f1864d81c2e7831205bc13055822c10044ad4 (patch) | |
tree | b6b0a5b324396640866161e4aea6e2384a823053 | |
parent | 5c758d1a8c48b1ca97e7e13140b9d22e17f2382e (diff) |
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 cbb0510063..12764edec8 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. + 2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com> * support/include/buffer_test_io.h: Add support for using printk for 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" ]) |