source:
rtems/testsuites/psxtests/configure.ac
@
e6e4eec
Last change on this file since e6e4eec was e6e4eec, checked in by Joel Sherrill <joel.sherrill@…>, on 06/23/10 at 22:48:44 | |
---|---|
|
|
File size: 3.0 KB |
Line | |
---|---|
1 | ## Process this file with autoconf to produce a configure script. |
2 | ## |
3 | ## $Id$ |
4 | |
5 | AC_PREREQ(2.60) |
6 | AC_INIT([rtems-c-src-tests-psxtests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
7 | AC_CONFIG_SRCDIR([psx01]) |
8 | RTEMS_TOP([../..],[..]) |
9 | |
10 | RTEMS_CANONICAL_TARGET_CPU |
11 | |
12 | AM_INIT_AUTOMAKE([no-define foreign 1.10]) |
13 | AM_MAINTAINER_MODE |
14 | |
15 | RTEMS_ENV_RTEMSBSP |
16 | |
17 | RTEMS_PROJECT_ROOT |
18 | |
19 | RTEMS_PROG_CC_FOR_TARGET |
20 | |
21 | RTEMS_CANONICALIZE_TOOLS |
22 | |
23 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
24 | |
25 | RTEMS_OBJECT_FORMAT |
26 | |
27 | AM_CONDITIONAL([HAS_NETWORKING],[test "$HAS_NETWORKING" = "yes"]) |
28 | |
29 | RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API]) |
30 | AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes") |
31 | |
32 | # FIXME: IEEE Std 1003.1-2008 mandates sys/mman.h, |
33 | # but newlib doesn't have sys/mman.h |
34 | AC_CHECK_HEADERS([sys/mman.h]) |
35 | |
36 | # FIXME: newlib should supply declaration of pthread_rwlock_unlock() |
37 | AC_CHECK_DECLS([pthread_rwlock_unlock],[],[],[[#include <pthread.h>]]) |
38 | |
39 | # FIXME: newlib should supply declaration of pthread_atfork() |
40 | AC_CHECK_DECLS([pthread_atfork],[],[],[[#include <pthread.h>]]) |
41 | |
42 | # FIXME: RTEMS presumes pthread_attr_getcputime to be IEEE Std 1003.1 |
43 | # Likely an anachronism in RTEMS. |
44 | AC_CHECK_DECLS([pthread_pthread_attr_getcputime],[],[],[[#include <pthread.h>]]) |
45 | |
46 | # FIXME: RTEMS presumes pthread_attr_setcputime to be IEEE Std 1003.1 |
47 | # Likely an anachronism in RTEMS. |
48 | AC_CHECK_DECLS([pthread_pthread_attr_setcputime],[],[],[[#include <pthread.h>]]) |
49 | |
50 | # FIXME: adjtime is a non-standardized BSD/Linux extension |
51 | # RTEMS should not rely on adjtime |
52 | AC_CHECK_DECLS([adjtime],[],[],[[#include <sys/time.h>]]) |
53 | |
54 | # FIXME: IEEE Std 1003.1-2008 mandates mprotect in sys/mman.h, |
55 | # RTEMS provides a stub, despite newlib doesn't have sys/mman.h |
56 | AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]]) |
57 | |
58 | # FIXME: We should get rid of this. It's a cludge. |
59 | AC_CHECK_SIZEOF([off_t]) |
60 | |
61 | # Explicitly list all Makefiles here |
62 | AC_CONFIG_FILES([Makefile |
63 | psx01/Makefile |
64 | psx02/Makefile |
65 | psx03/Makefile |
66 | psx04/Makefile |
67 | psx05/Makefile |
68 | psx06/Makefile |
69 | psx07/Makefile |
70 | psx08/Makefile |
71 | psx09/Makefile |
72 | psx10/Makefile |
73 | psx11/Makefile |
74 | psx12/Makefile |
75 | psx13/Makefile |
76 | psx14/Makefile |
77 | psxalarm01/Makefile |
78 | psxautoinit01/Makefile |
79 | psxautoinit02/Makefile |
80 | psxbarrier01/Makefile |
81 | psxcancel/Makefile |
82 | psxcancel01/Makefile |
83 | psxchroot01/Makefile |
84 | psxcleanup/Makefile |
85 | psxcleanup01/Makefile |
86 | psxclock/Makefile |
87 | psxcond01/Makefile |
88 | psxenosys/Makefile |
89 | psxfatal01/Makefile |
90 | psxfatal02/Makefile |
91 | psxfile01/Makefile |
92 | psxfile02/Makefile |
93 | psxhdrs/Makefile |
94 | psxintrcritical01/Makefile |
95 | psxitimer/Makefile |
96 | psxkey01/Makefile |
97 | psxkey02/Makefile |
98 | psxkey03/Makefile |
99 | psxload01/Makefile |
100 | psxmount/Makefile |
101 | psxmsgq01/Makefile |
102 | psxmsgq02/Makefile |
103 | psxmsgq03/Makefile |
104 | psxmsgq04/Makefile |
105 | psxmutexattr01/Makefile |
106 | psxobj01/Makefile |
107 | psxpasswd01/Makefile |
108 | psxreaddir/Makefile |
109 | psxrdwrv/Makefile |
110 | psxrwlock01/Makefile |
111 | psxsem01/Makefile |
112 | psxsignal01/Makefile |
113 | psxsignal02/Makefile |
114 | psxsignal03/Makefile |
115 | psxsignal04/Makefile |
116 | psxsignal05/Makefile |
117 | psxspin01/Makefile |
118 | psxspin02/Makefile |
119 | psxstack01/Makefile |
120 | psxstat/Makefile |
121 | psxsysconf/Makefile |
122 | psxtime/Makefile |
123 | psxtimer01/Makefile |
124 | psxtimer02/Makefile |
125 | psxualarm/Makefile |
126 | psxusleep/Makefile |
127 | ]) |
128 | AC_OUTPUT |
Note: See TracBrowser
for help on using the repository browser.