diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-10 17:12:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-14 07:47:12 +0200 |
commit | cff773f5802d0b5b4d007be3f6f4adbb04ce0d41 (patch) | |
tree | afada47b1eb3d9ebbe755c8cd7eca6e3e9eec632 /testsuites/sptests/configure.ac | |
parent | libstdthreads: Import from FreeBSD (diff) | |
download | rtems-cff773f5802d0b5b4d007be3f6f4adbb04ce0d41.tar.bz2 |
libstdthreads: Add C11 threads
Diffstat (limited to 'testsuites/sptests/configure.ac')
-rw-r--r-- | 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 be69f092b2..ea96dbf9da 100644 --- a/testsuites/sptests/configure.ac +++ b/testsuites/sptests/configure.ac @@ -33,6 +33,9 @@ AC_CHECK_SIZEOF([time_t]) AC_CHECK_TYPES([struct _Thread_queue_Queue],[],[],[#include <sys/lock.h>]) AM_CONDITIONAL(HAS__THREAD_QUEUE_QUEUE,test x"${ac_cv_type_struct__Thread_queue_Queue}" = x"yes") +AC_CHECK_HEADERS([threads.h]) +AM_CONDITIONAL([HAS_THREADS_H],[test x"$ac_cv_header_threads_h" = x"yes"]) + # Added to newlib pthreads for RTEMS SMP (np), may not be present AC_CHECK_HEADERS([sys/cpuset.h]) AM_CONDITIONAL(HAS_CPUSET,test x"${ac_cv_header_sys_cpuset_h}" = x"yes") @@ -43,6 +46,7 @@ AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_RTEMS_SMP" = "yes") # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile +spstdthreads01/Makefile spsyslock01/Makefile sptasknopreempt01/Makefile spintrcritical23/Makefile |