summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-09-23 14:50:42 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-09-23 14:50:42 +0000
commita7a7d280dfabc2950adc37fd58cd7fc2ab51e55a (patch)
tree7402cb0422a6a56fe4df259b49bb2f67a3864ffd /testsuites
parentRegenerate. (diff)
downloadrtems-a7a7d280dfabc2950adc37fd58cd7fc2ab51e55a.tar.bz2
2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/ChangeLog4
-rw-r--r--testsuites/aclocal/check-cpuopts.m44
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog
index cdd0870e53..40491eabe4 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.
+
2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Remove PRIdoff_t.
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"
])