source: rtems/testsuites/psxtests/configure.ac @ 936c8d6

4.115
Last change on this file since 936c8d6 was bb2b825, checked in by Ralf Corsépius <ralf.corsepius@…>, on 07/19/12 at 13:47:55

Require automake-1.12.2.

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