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

4.115
Last change on this file since b5c9064 was b5c9064, checked in by Zhongwei Yao <ashi08104@…>, on Aug 5, 2013 at 1:20:45 PM

Unlimited objects support for POSIX keys

This patch enables unlimited model in POSIX key manger and have a decent
runtime on POSIX key searching, adding and deleting operations. Memory
overhead is lower than current implementation when the size of key and key
value becomes big.

  • Property mode set to 100644
File size: 4.1 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
125psxkey04/Makefile
126psxkey05/Makefile
127psxkey06/Makefile
128psxkey07/Makefile
129psxkey08/Makefile
130psxkey09/Makefile
131psxkey10/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.