source: rtems/testsuites/psxtests/configure.ac @ 1fe4042

4.11
Last change on this file since 1fe4042 was 1fe4042, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 1, 2010 at 5:26:37 PM

2010-07-01 Bharath Suri <bharath.s.jois@…>

PR 1598/testing

  • Makefile.am, configure.ac, psxpasswd01/init.c, psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: Add testing for POSIX user database (e.g. /etc/group and /etc/passwd) access routines which are implemented in libcsupport/src/getpwent.c.
  • psxpasswd02/.cvsignore, psxpasswd02/Makefile.am, psxpasswd02/init.c, psxpasswd02/psxpasswd02.doc, psxpasswd02/psxpasswd02.scn: New files.
  • Property mode set to 100644
File size: 3.1 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
108psxpasswd02/Makefile
109psxreaddir/Makefile
110psxrdwrv/Makefile
111psxrwlock01/Makefile
112psxsem01/Makefile
113psxsignal01/Makefile
114psxsignal02/Makefile
115psxsignal03/Makefile
116psxsignal04/Makefile
117psxsignal05/Makefile
118psxspin01/Makefile
119psxspin02/Makefile
120psxstack01/Makefile
121psxstat/Makefile
122psxsysconf/Makefile
123psxtime/Makefile
124psxtimer01/Makefile
125psxtimer02/Makefile
126psxualarm/Makefile
127psxusleep/Makefile
128])
129AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.