source: rtems/testsuites/psxtests/configure.ac @ 700b9116

4.104.11
Last change on this file since 700b9116 was 700b9116, checked in by Ralf Corsepius <ralf.corsepius@…>, on May 29, 2010 at 5:31:46 AM

2010-05-29 Ralf Corsépius <ralf.corsepius@…>

  • configure.ac: Add AC_CHECK_SIZEOF(off_t).
  • include/pmacros.h: Add PRIdoff_t.
  • 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
90psxhdrs/Makefile
91psxintrcritical01/Makefile
92psxitimer/Makefile
93psxkey01/Makefile
94psxkey02/Makefile
95psxkey03/Makefile
96psxmount/Makefile
97psxmsgq01/Makefile
98psxmsgq02/Makefile
99psxmsgq03/Makefile
100psxmsgq04/Makefile
101psxmutexattr01/Makefile
102psxobj01/Makefile
103psxpasswd01/Makefile
104psxreaddir/Makefile
105psxrdwrv/Makefile
106psxrwlock01/Makefile
107psxsem01/Makefile
108psxsignal01/Makefile
109psxsignal02/Makefile
110psxsignal03/Makefile
111psxsignal04/Makefile
112psxsignal05/Makefile
113psxspin01/Makefile
114psxspin02/Makefile
115psxstack01/Makefile
116psxstat/Makefile
117psxsysconf/Makefile
118psxtime/Makefile
119psxtimer01/Makefile
120psxtimer02/Makefile
121psxualarm/Makefile
122psxusleep/Makefile
123])
124AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.