source: rtems/testsuites/psxtests/configure.ac @ 98e16aad

4.11
Last change on this file since 98e16aad was 98e16aad, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 1, 2010 at 2:40:14 PM

2010-07-01 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add tests for file lock stubs as well as various POSIX methods that access UID, PID, and GID.
  • psxfilelock01/.cvsignore, psxfilelock01/Makefile.am, psxfilelock01/init.c, psxfilelock01/psxfilelock01.doc, psxfilelock01/psxfilelock01.scn, psxid01/.cvsignore, psxid01/Makefile.am, psxid01/init.c, psxid01/psxid01.doc, psxid01/psxid01.scn: New files.
  • Property mode set to 100644
File size: 3.0 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: We should get rid of this. It's a cludge.
57AC_CHECK_SIZEOF([off_t])
58
59# Explicitly list all Makefiles here
60AC_CONFIG_FILES([Makefile
61psx01/Makefile
62psx02/Makefile
63psx03/Makefile
64psx04/Makefile
65psx05/Makefile
66psx06/Makefile
67psx07/Makefile
68psx08/Makefile
69psx09/Makefile
70psx10/Makefile
71psx11/Makefile
72psx12/Makefile
73psx13/Makefile
74psx14/Makefile
75psxalarm01/Makefile
76psxautoinit01/Makefile
77psxautoinit02/Makefile
78psxbarrier01/Makefile
79psxcancel/Makefile
80psxcancel01/Makefile
81psxchroot01/Makefile
82psxcleanup/Makefile
83psxcleanup01/Makefile
84psxclock/Makefile
85psxcond01/Makefile
86psxenosys/Makefile
87psxfatal01/Makefile
88psxfatal02/Makefile
89psxfile01/Makefile
90psxfile02/Makefile
91psxfilelock01/Makefile
92psxhdrs/Makefile
93psxid01/Makefile
94psximfs01/Makefile
95psxintrcritical01/Makefile
96psxitimer/Makefile
97psxkey01/Makefile
98psxkey02/Makefile
99psxkey03/Makefile
100psxmount/Makefile
101psxmsgq01/Makefile
102psxmsgq02/Makefile
103psxmsgq03/Makefile
104psxmsgq04/Makefile
105psxmutexattr01/Makefile
106psxobj01/Makefile
107psxpasswd01/Makefile
108psxreaddir/Makefile
109psxrdwrv/Makefile
110psxrwlock01/Makefile
111psxsem01/Makefile
112psxsignal01/Makefile
113psxsignal02/Makefile
114psxsignal03/Makefile
115psxsignal04/Makefile
116psxsignal05/Makefile
117psxspin01/Makefile
118psxspin02/Makefile
119psxstack01/Makefile
120psxstat/Makefile
121psxsysconf/Makefile
122psxtime/Makefile
123psxtimer01/Makefile
124psxtimer02/Makefile
125psxualarm/Makefile
126psxusleep/Makefile
127])
128AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.