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

4.115
Last change on this file since 5218693 was 5218693, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/30/10 at 16:58:13

2010-08-30 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: AC_CHECK_DECLS([seteuid]).
  • psximfs02/init.c: Provide decl for seteuid if not provided by libc.
  • Property mode set to 100644
File size: 3.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.60)
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.10])
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_pthread_attr_getcputime],[],[],[[#include <pthread.h>]])
43
44# FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1
45# Likely an anachronism in RTEMS.
46AC_CHECK_DECLS([pthread_pthread_attr_setcputime],[],[],[[#include <pthread.h>]])
47
48# FIXME: adjtime is a non-standardized BSD/Linux extension
49# RTEMS should not rely on adjtime
50AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]])
51
52# FIXME: IEEE Std 1003.1-2008 mandates mprotect in sys/mman.h,
53# RTEMS provides a stub, despite newlib doesn't have sys/mman.h
54AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]])
55
56# FIXME: IEEE Std 1003.1-2008 mandates seteuid in unistd.h
57# RTEMS provides it, despite newlib doesn't declare it.
58AC_CHECK_DECLS([seteuid],[],[],[#include <unistd.h>])
59
60# FIXME: We should get rid of this. It's a cludge.
61AC_CHECK_SIZEOF([off_t])
62
63# Explicitly list all Makefiles here
64AC_CONFIG_FILES([Makefile
65psx01/Makefile
66psx02/Makefile
67psx03/Makefile
68psx04/Makefile
69psx05/Makefile
70psx06/Makefile
71psx07/Makefile
72psx08/Makefile
73psx09/Makefile
74psx10/Makefile
75psx11/Makefile
76psx12/Makefile
77psx13/Makefile
78psx14/Makefile
79psxaio01/Makefile
80psxaio02/Makefile
81psxalarm01/Makefile
82psxautoinit01/Makefile
83psxautoinit02/Makefile
84psxbarrier01/Makefile
85psxcancel/Makefile
86psxcancel01/Makefile
87psxchroot01/Makefile
88psxcleanup/Makefile
89psxcleanup01/Makefile
90psxclock/Makefile
91psxcond01/Makefile
92psxenosys/Makefile
93psxfatal01/Makefile
94psxfatal02/Makefile
95psxfchx01/Makefile
96psxfile01/Makefile
97psxfile02/Makefile
98psxfilelock01/Makefile
99psxgetrusage01/Makefile
100psxhdrs/Makefile
101psxid01/Makefile
102psximfs01/Makefile
103psximfs02/Makefile
104psxintrcritical01/Makefile
105psxitimer/Makefile
106psxkey01/Makefile
107psxkey02/Makefile
108psxkey03/Makefile
109psxmount/Makefile
110psxmsgq01/Makefile
111psxmsgq02/Makefile
112psxmsgq03/Makefile
113psxmsgq04/Makefile
114psxmutexattr01/Makefile
115psxobj01/Makefile
116psxpasswd01/Makefile
117psxpasswd02/Makefile
118psxpipe01/Makefile
119psxreaddir/Makefile
120psxrdwrv/Makefile
121psxrwlock01/Makefile
122psxsem01/Makefile
123psxsignal01/Makefile
124psxsignal02/Makefile
125psxsignal03/Makefile
126psxsignal04/Makefile
127psxsignal05/Makefile
128psxspin01/Makefile
129psxspin02/Makefile
130psxstack01/Makefile
131psxstat/Makefile
132psxsysconf/Makefile
133psxtime/Makefile
134psxtimer01/Makefile
135psxtimer02/Makefile
136psxtimes01/Makefile
137psxualarm/Makefile
138psxusleep/Makefile
139])
140AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.