[rtems commit] Introduce AM_CONDITIONAL ATOMIC, cpuopt RTEMS_ATOMIC.

Ralf Corsepius ralf at rtems.org
Thu Feb 14 22:43:45 UTC 2013


Module:    rtems
Branch:    master
Commit:    bdf9072032bfb30a7d571165af0c8fffc3008a8e
Changeset: http://git.rtems.org/rtems/commit/?id=bdf9072032bfb30a7d571165af0c8fffc3008a8e

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Thu Feb 14 23:27:00 2013 +0100

Introduce AM_CONDITIONAL ATOMIC, cpuopt RTEMS_ATOMIC.

---

 testsuites/sptests/configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac
index a43a1ad..2e48949 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




More information about the vc mailing list