forked from Imagelibrary/rtems
2010-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, ChangeLog, Makefile.am, README, configure.ac, psxtmtests_plan.csv, psxtmmutex02/.cvsignore, psxtmmutex02/Makefile.am, psxtmmutex02/init.c, psxtmmutex02/psxtmmutex02.doc, psxtmthread01/.cvsignore, psxtmthread01/Makefile.am, psxtmthread01/init.c, psxtmthread01/psxtmthread01.doc, psxtmthread03/.cvsignore, psxtmthread03/Makefile.am, psxtmthread03/init.c, psxtmthread03/psxtmthread03.doc: New files.
This commit is contained in:
85
testsuites/psxtmtests/configure.ac
Normal file
85
testsuites/psxtmtests/configure.ac
Normal file
@@ -0,0 +1,85 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ(2.60)
|
||||
AC_INIT([rtems-c-src-tests-psxtmtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
|
||||
AC_CONFIG_SRCDIR([psxtmmutex02])
|
||||
RTEMS_TOP([../..],[..])
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.10])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
RTEMS_PROG_CC_FOR_TARGET
|
||||
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
|
||||
RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
|
||||
AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
|
||||
|
||||
# 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 <pthread.h>]])
|
||||
|
||||
# FIXME: newlib should supply declaration of pthread_atfork()
|
||||
AC_CHECK_DECLS([pthread_atfork],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
|
||||
# Likely an anachronism in RTEMS.
|
||||
AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
|
||||
# Likely an anachronism in RTEMS.
|
||||
AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
|
||||
# Likely an anachronism in RTEMS.
|
||||
AC_CHECK_DECLS([pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# Added to pthreads after initial revision. May not be in toolset
|
||||
AC_CHECK_DECLS([pthread_attr_getstack],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# Added to pthreads after initial revision. May not be in toolset
|
||||
AC_CHECK_DECLS([pthread_attr_setstack],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# Added to pthreads after initial revision. May not be in toolset
|
||||
AC_CHECK_DECLS([pthread_attr_getguardsize],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# Added to pthreads after initial revision. May not be in toolset
|
||||
AC_CHECK_DECLS([pthread_attr_setguardsize],[],[],[[#include <pthread.h>]])
|
||||
|
||||
# FIXME: adjtime is a non-standardized BSD/Linux extension
|
||||
# RTEMS should not rely on adjtime
|
||||
AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
|
||||
|
||||
# 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 <sys/mman.h>]])
|
||||
|
||||
# FIXME: IEEE Std 1003.1-2008 mandates seteuid in unistd.h
|
||||
# RTEMS provides it, despite newlib doesn't declare it.
|
||||
AC_CHECK_DECLS([seteuid],[],[],[#include <unistd.h>])
|
||||
|
||||
# FIXME: We should get rid of this. It's a cludge.
|
||||
AC_CHECK_SIZEOF([off_t])
|
||||
|
||||
OPERATION_COUNT=${OPERATION_COUNT-100}
|
||||
AC_SUBST(OPERATION_COUNT)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile
|
||||
psxtmmutex02/Makefile
|
||||
psxtmthread01/Makefile
|
||||
psxtmthread03/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
Reference in New Issue
Block a user