diff options
author | WeiY <wei.a.yang@gmail.com> | 2013-07-15 23:31:13 +0800 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-17 13:07:33 +0200 |
commit | 2e7f57986576cf19b20f0fa8a9e8edd810215c73 (patch) | |
tree | a9090f44c914871b4c9a6958ec7df51e4adad46d /testsuites/smptests/configure.ac | |
parent | smpatomic test case update (diff) | |
download | rtems-2e7f57986576cf19b20f0fa8a9e8edd810215c73.tar.bz2 |
stdatomic.h support check when configure
Diffstat (limited to 'testsuites/smptests/configure.ac')
-rw-r--r-- | testsuites/smptests/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/smptests/configure.ac b/testsuites/smptests/configure.ac index e8e4d728c7..19e1effb41 100644 --- a/testsuites/smptests/configure.ac +++ b/testsuites/smptests/configure.ac @@ -22,6 +22,8 @@ RTEMS_PROG_CC_FOR_TARGET RTEMS_PROG_CXX_FOR_TARGET RTEMS_CANONICALIZE_TOOLS +RTEMS_CHECK_CPUOPTS([RTEMS_ATOMIC]) + RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING]) RTEMS_CHECK_CXX(RTEMS_BSP) @@ -30,6 +32,8 @@ RTEMS_CHECK_CPUOPTS([RTEMS_SMP]) AM_CONDITIONAL(SMPTESTS,test "$rtems_cv_RTEMS_SMP" = "yes") +AM_CONDITIONAL([ATOMIC],[test x"$rtems_cv_RTEMS_ATOMIC" = xyes]) + # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile smp01/Makefile |