summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/check-cpuopts.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/aclocal/check-cpuopts.m44
1 files changed, 2 insertions, 2 deletions
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"
])