From 9a673dbaa8e1c59d3ad013a4092ca33fae7b6823 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 7 Feb 2007 03:36:52 +0000 Subject: =?UTF-8?q?2007-02-07=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * configure.ac: Check fo intmax_t, uintptr_t, intptr_t, pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t. --- cpukit/configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'cpukit/configure.ac') diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 0e14f05521..94dc914bc2 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -2,7 +2,7 @@ ## ## $Id$ -AC_PREREQ(2.60) +AC_PREREQ(2.61) AC_INIT([rtems-cpukit],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) AC_CONFIG_SRCDIR([score]) RTEMS_TOP([..],[]) @@ -72,7 +72,17 @@ AC_CHECK_TYPES([ uint8_t, int8_t]) AC_CHECK_TYPES([uint16_t, int16_t]) AC_CHECK_TYPES([uint32_t, int32_t]) AC_CHECK_TYPES([uint64_t, int64_t]) -AC_CHECK_TYPES([uintmax_t]) +AC_CHECK_TYPES([uintmax_t, intmax_t]) +AC_CHECK_TYPES([uintptr_t, intptr_t]) + +# These are conditionally defined by the toolchain +# FIXME: we should either conditionally compile those parts in +# RTEMS depending on them, or abort - For now, simply check. +AC_CHECK_HEADER([pthread.h],[ + AC_CHECK_TYPES([pthread_rwlock_t]) + AC_CHECK_TYPES([pthread_barrier_t]) + AC_CHECK_TYPES([pthread_spinlock_t]) +]) RTEMS_CHECK_MULTIPROCESSING RTEMS_CHECK_POSIX_API -- cgit v1.2.3