summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorRalf Corsépius <ralf.corsepius@rtems.org>2013-02-14 23:27:00 +0100
committerRalf Corsépius <ralf.corsepius@rtems.org>2013-02-14 23:47:31 +0100
commitbdf9072032bfb30a7d571165af0c8fffc3008a8e (patch)
treedc0f1ff4251797e08d33394ad397a155522992fd /testsuites
parentConditionally install atomic-headers. (diff)
downloadrtems-bdf9072032bfb30a7d571165af0c8fffc3008a8e.tar.bz2
Introduce AM_CONDITIONAL ATOMIC, cpuopt RTEMS_ATOMIC.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac
index a43a1ad2c7..2e489490f1 100644
--- a/testsuites/sptests/configure.ac
+++ b/testsuites/sptests/configure.ac
@@ -20,11 +20,15 @@ RTEMS_PROG_CC_FOR_TARGET
RTEMS_CANONICALIZE_TOOLS
+RTEMS_CHECK_CPUOPTS([RTEMS_ATOMIC])
+
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
# FIXME: We should get rid of this. It's a cludge.
AC_CHECK_SIZEOF([time_t])
+AM_CONDITIONAL([ATOMIC],[test x"$rtems_cv_RTEMS_ATOMIC" = xyes])
+
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
spfatal26/Makefile