source: rtems/testsuites/psxtests/configure.ac @ 8c3c4822

4.104.115
Last change on this file since 8c3c4822 was 7a6c4c51, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/27/09 at 04:58:47

Add AC_CHECK_DECLS pthread_getcputime, pthread_setcputime.

  • Property mode set to 100644
File size: 2.9 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# Explicitly list all Makefiles here
57AC_CONFIG_FILES([Makefile
58psx01/Makefile
59psx02/Makefile
60psx03/Makefile
61psx04/Makefile
62psx05/Makefile
63psx06/Makefile
64psx07/Makefile
65psx08/Makefile
66psx09/Makefile
67psx10/Makefile
68psx11/Makefile
69psx12/Makefile
70psx13/Makefile
71psx14/Makefile
72psxalarm01/Makefile
73psxautoinit01/Makefile
74psxautoinit02/Makefile
75psxbarrier01/Makefile
76psxcancel/Makefile
77psxcancel01/Makefile
78psxchroot01/Makefile
79psxcleanup/Makefile
80psxcleanup01/Makefile
81psxclock/Makefile
82psxcond01/Makefile
83psxenosys/Makefile
84psxfatal01/Makefile
85psxfatal02/Makefile
86psxfile01/Makefile
87psxhdrs/Makefile
88psxintrcritical01/Makefile
89psxitimer/Makefile
90psxkey01/Makefile
91psxkey02/Makefile
92psxkey03/Makefile
93psxmount/Makefile
94psxmsgq01/Makefile
95psxmsgq02/Makefile
96psxmsgq03/Makefile
97psxmsgq04/Makefile
98psxmutexattr01/Makefile
99psxobj01/Makefile
100psxreaddir/Makefile
101psxrdwrv/Makefile
102psxrwlock01/Makefile
103psxsem01/Makefile
104psxsignal01/Makefile
105psxsignal02/Makefile
106psxsignal03/Makefile
107psxsignal04/Makefile
108psxsignal05/Makefile
109psxspin01/Makefile
110psxspin02/Makefile
111psxstack01/Makefile
112psxstat/Makefile
113psxsysconf/Makefile
114psxtime/Makefile
115psxtimer01/Makefile
116psxtimer02/Makefile
117psxualarm/Makefile
118])
119AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.