From f2ced5d99f4ff30a209dd7614882d46fcad20291 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Oct 2009 04:58:07 +0000 Subject: [PATCH] =?UTF-8?q?2009-10-26=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * configure.ac: Add AC_CHECK_HEADERS sys/mman.h. Add AC_CHECK_DECLS pthread_atfork, adjtime, mprotect. --- testsuites/psxtests/configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/testsuites/psxtests/configure.ac b/testsuites/psxtests/configure.ac index 3849690f7c..c88c105c6b 100644 --- a/testsuites/psxtests/configure.ac +++ b/testsuites/psxtests/configure.ac @@ -27,9 +27,24 @@ AM_CONDITIONAL([HAS_NETWORKING],[test "$HAS_NETWORKING" = "yes"]) RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API]) AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes") +# FIXME: IEEE Std 1003.1-2008 mandates sys/mman.h, +# but newlib doesn't have sys/mman.h +AC_CHECK_HEADERS([sys/mman.h]) + # FIXME: newlib should supply declaration of pthread_rwlock_unlock() AC_CHECK_DECLS([pthread_rwlock_unlock],[],[],[[#include ]]) +# FIXME: newlib should supply declaration of pthread_atfork() +AC_CHECK_DECLS([pthread_atfork],[],[],[[#include ]]) + +# FIXME: adjtime is a non-standardized BSD/Linux extension +# RTEMS should not rely on adjtime +AC_CHECK_DECLS([adjtime],[],[],[[#include ]]) + +# FIXME: IEEE Std 1003.1-2008 mandates mprotect in sys/mman.h, +# RTEMS provides a stub, despite newlib doesn't have sys/mman.h +AC_CHECK_DECLS([mprotect],[],[],[[#include ]]) + # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile psx01/Makefile