source: rtems/testsuites/psxtests/configure.ac @ 76e9a52f

4.115
Last change on this file since 76e9a52f was 76e9a52f, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/11 at 16:16:17

2011-07-31 Joel Sherrill <joel.sherrilL@…>

PR 1867/cpukit

  • Makefile.am, configure.ac, psx12/task.c, psxkey03/init.c, psxrwlock01/test.c: Correct implementation of pthread_exit() and pthread_join() to support the case where a thread is joinable but calls pthread_exit() before a thread has attempted to join.
  • Property mode set to 100644
File size: 4.3 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ([2.68])
6AC_INIT([rtems-c-src-tests-psxtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
7AC_CONFIG_SRCDIR([psx01])
8AC_CONFIG_HEADER([config.h])
9RTEMS_TOP([../..],[..])
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign 1.11.1])
14AM_MAINTAINER_MODE
15
16RTEMS_ENV_RTEMSBSP
17
18RTEMS_PROJECT_ROOT
19
20RTEMS_PROG_CC_FOR_TARGET
21
22RTEMS_CANONICALIZE_TOOLS
23
24RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
25
26AM_CONDITIONAL([HAS_NETWORKING],[test "$HAS_NETWORKING" = "yes"])
27
28RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
29AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
30
31# FIXME: IEEE Std 1003.1-2008 mandates sys/mman.h,
32# but newlib doesn't have sys/mman.h
33AC_CHECK_HEADERS([sys/mman.h])
34
35# FIXME: newlib should supply declaration of pthread_rwlock_unlock()
36AC_CHECK_DECLS([pthread_rwlock_unlock],[],[],[[#include <pthread.h>]])
37
38# FIXME: newlib should supply declaration of pthread_atfork()
39AC_CHECK_DECLS([pthread_atfork],[],[],[[#include <pthread.h>]])
40
41# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
42# Likely an anachronism in RTEMS.
43AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
44
45# FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1
46# Likely an anachronism in RTEMS.
47AC_CHECK_DECLS([pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
48
49# FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
50# Likely an anachronism in RTEMS.
51AC_CHECK_DECLS([pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
52
53# Added to pthreads after initial revision.  May not be in toolset
54AC_CHECK_DECLS([pthread_attr_getstack],[],[],[[#include <pthread.h>]])
55
56# Added to pthreads after initial revision.  May not be in toolset
57AC_CHECK_DECLS([pthread_attr_setstack],[],[],[[#include <pthread.h>]])
58
59# Added to pthreads after initial revision.  May not be in toolset
60AC_CHECK_DECLS([pthread_attr_getguardsize],[],[],[[#include <pthread.h>]])
61
62# Added to pthreads after initial revision.  May not be in toolset
63AC_CHECK_DECLS([pthread_attr_setguardsize],[],[],[[#include <pthread.h>]])
64
65# FIXME: adjtime is a non-standardized BSD/Linux extension
66# RTEMS should not rely on adjtime
67AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
68
69# FIXME: IEEE Std 1003.1-2008 mandates mprotect in sys/mman.h,
70# RTEMS provides a stub, despite newlib doesn't have sys/mman.h
71AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]])
72
73# FIXME: IEEE Std 1003.1-2008 mandates seteuid in unistd.h
74# RTEMS provides it, despite newlib doesn't declare it.
75AC_CHECK_DECLS([seteuid],[],[],[#include <unistd.h>])
76
77# FIXME: We should get rid of this. It's a cludge.
78AC_CHECK_SIZEOF([off_t])
79AC_CHECK_SIZEOF([blksize_t])
80AC_CHECK_SIZEOF([blkcnt_t])
81
82# Explicitly list all Makefiles here
83AC_CONFIG_FILES([Makefile
84psx01/Makefile
85psx02/Makefile
86psx03/Makefile
87psx04/Makefile
88psx05/Makefile
89psx06/Makefile
90psx07/Makefile
91psx08/Makefile
92psx09/Makefile
93psx10/Makefile
94psx11/Makefile
95psx12/Makefile
96psx13/Makefile
97psx14/Makefile
98psx15/Makefile
99psx16/Makefile
100psxaio01/Makefile
101psxaio02/Makefile
102psxaio03/Makefile
103psxalarm01/Makefile
104psxautoinit01/Makefile
105psxautoinit02/Makefile
106psxbarrier01/Makefile
107psxcancel/Makefile
108psxcancel01/Makefile
109psxchroot01/Makefile
110psxclassic01/Makefile
111psxcleanup/Makefile
112psxcleanup01/Makefile
113psxclock/Makefile
114psxcond01/Makefile
115psxenosys/Makefile
116psxfatal01/Makefile
117psxfatal02/Makefile
118psxfchx01/Makefile
119psxfile01/Makefile
120psxfile02/Makefile
121psxfilelock01/Makefile
122psxgetrusage01/Makefile
123psxhdrs/Makefile
124psxid01/Makefile
125psximfs01/Makefile
126psximfs02/Makefile
127psxintrcritical01/Makefile
128psxitimer/Makefile
129psxkey01/Makefile
130psxkey02/Makefile
131psxkey03/Makefile
132psxmount/Makefile
133psxmsgq01/Makefile
134psxmsgq02/Makefile
135psxmsgq03/Makefile
136psxmsgq04/Makefile
137psxmutexattr01/Makefile
138psxobj01/Makefile
139psxpasswd01/Makefile
140psxpasswd02/Makefile
141psxpipe01/Makefile
142psxreaddir/Makefile
143psxrdwrv/Makefile
144psxrwlock01/Makefile
145psxsem01/Makefile
146psxsignal01/Makefile
147psxsignal02/Makefile
148psxsignal03/Makefile
149psxsignal04/Makefile
150psxsignal05/Makefile
151psxsignal06/Makefile
152psxspin01/Makefile
153psxspin02/Makefile
154psxstack01/Makefile
155psxstack02/Makefile
156psxstat/Makefile
157psxsysconf/Makefile
158psxtime/Makefile
159psxtimer01/Makefile
160psxtimer02/Makefile
161psxtimes01/Makefile
162psxualarm/Makefile
163psxusleep/Makefile
164])
165AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.