source: rtems/testsuites/psxtests/configure.ac @ cafefbf

4.115
Last change on this file since cafefbf was c03792f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/08/11 at 06:37:34

2011-02-08 Ralf Corsépius <ralf.corsepius@…>

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