summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-13 09:39:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-13 09:39:32 +0100
commitdc7031904de103064da3b93ed90f0791c8b8adb4 (patch)
treea5bdcaf3c51e2ebfff286803a00b77d06f6c44b4 /cpukit
parentconfigure: Remove HAVE_SEMAPHORE_H support (diff)
downloadrtems-dc7031904de103064da3b93ed90f0791c8b8adb4.tar.bz2
configure: Remove HAVE_THREADS_H support
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/configure.ac5
-rw-r--r--cpukit/libstdthreads/Makefile.am2
2 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index 2a1ab64620..945bd309a4 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -136,12 +136,9 @@ AC_CHECK_FUNCS([ttyname getcwd])
# Check if the installed toolchain provides these headers
# and error out if not.
-AC_CHECK_HEADERS([tar.h errno.h sched.h semaphore.h sys/cdefs.h sys/queue.h],,
+AC_CHECK_HEADERS([errno.h sched.h semaphore.h sys/cdefs.h sys/queue.h tar.h threads.h],,
[RTEMS_TOOL_CHAIN_ERROR])
-AC_CHECK_HEADERS([threads.h])
-AM_CONDITIONAL([HAVE_THREADS_H],[test x"$ac_cv_header_threads_h" = x"yes"])
-
## error out if libc doesn't provide stdint.h
AS_IF([test x"${ac_cv_header_stdint_h}" != xyes],
[RTEMS_TOOL_CHAIN_ERROR])
diff --git a/cpukit/libstdthreads/Makefile.am b/cpukit/libstdthreads/Makefile.am
index 8b4ffaae0f..b6b9138063 100644
--- a/cpukit/libstdthreads/Makefile.am
+++ b/cpukit/libstdthreads/Makefile.am
@@ -8,7 +8,6 @@ libstdthreads_a_CFLAGS = -std=c11
libstdthreads_a_CPPFLAGS = $(AM_CPPFLAGS)
libstdthreads_a_SOURCES =
-if HAVE_THREADS_H
libstdthreads_a_SOURCES += call_once.c
libstdthreads_a_SOURCES += cnd.c
libstdthreads_a_SOURCES += mtx.c
@@ -16,6 +15,5 @@ if HAS_PTHREADS
libstdthreads_a_SOURCES += thrd.c
endif
libstdthreads_a_SOURCES += tss.c
-endif
include $(top_srcdir)/automake/local.am