source: rtems/testsuites/smptests/configure.ac @ 239dd35f

5
Last change on this file since 239dd35f was 7a4b2645, checked in by Joel Sherrill <joel@…>, on 01/11/17 at 15:43:06

Remove obsolete RTEMS_HAVE_SYS_CPUSET_H

  • Property mode set to 100644
File size: 2.5 KB
Line 
1## Process this file with autoconf to produce a configure script.
2
3AC_PREREQ([2.69])
4AC_INIT([rtems-c-src-tests-smptests],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
5AC_CONFIG_SRCDIR([smp01])
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_ENABLE_CXX
15
16RTEMS_ENV_RTEMSBSP
17
18RTEMS_PROJECT_ROOT
19
20RTEMS_PROG_CC_FOR_TARGET
21
22RTEMS_PROG_CXX_FOR_TARGET
23RTEMS_CANONICALIZE_TOOLS
24
25RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
26
27RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
28RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING])
29RTEMS_CHECK_CXX(RTEMS_BSP)
30RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
31RTEMS_CHECK_CPUOPTS([RTEMS_SMP])
32
33AM_CONDITIONAL(SMPTESTS,test "$rtems_cv_RTEMS_SMP" = "yes")
34
35AM_CONDITIONAL([HAS_POSIX],[test x"${rtems_cv_RTEMS_POSIX_API}" = xyes])
36
37# These are SMP related and were added to newlib by RTEMS.
38AC_CHECK_DECLS([pthread_attr_setaffinity_np],[],[],[[
39  #define _GNU_SOURCE
40  #include <pthread.h>]])
41AC_CHECK_DECLS([pthread_attr_getaffinity_np],[],[],[[
42  #define _GNU_SOURCE
43  #include <pthread.h>]])
44AC_CHECK_DECLS([pthread_setaffinity_np],[],[],[[
45  #define _GNU_SOURCE
46  #include <pthread.h>]])
47AC_CHECK_DECLS([pthread_getaffinity_np],[],[],[[
48  #define _GNU_SOURCE
49  #include <pthread.h>]])
50AC_CHECK_DECLS([pthread_getattr_np],[],[],[[
51  #define _GNU_SOURCE
52  #include <pthread.h>]])
53
54# Explicitly list all Makefiles here
55AC_CONFIG_FILES([Makefile
56smpmutex02/Makefile
57smppsxmutex01/Makefile
58smpstrongapa01/Makefile
59smp01/Makefile
60smp02/Makefile
61smp03/Makefile
62smp05/Makefile
63smp07/Makefile
64smp08/Makefile
65smp09/Makefile
66smpaffinity01/Makefile
67smpatomic01/Makefile
68smpcache01/Makefile
69smpcapture01/Makefile
70smpcapture02/Makefile
71smpclock01/Makefile
72smpfatal01/Makefile
73smpfatal02/Makefile
74smpfatal03/Makefile
75smpfatal04/Makefile
76smpfatal05/Makefile
77smpfatal06/Makefile
78smpfatal08/Makefile
79smpipi01/Makefile
80smpload01/Makefile
81smplock01/Makefile
82smpmigration01/Makefile
83smpmigration02/Makefile
84smpmrsp01/Makefile
85smpmutex01/Makefile
86smppsxaffinity01/Makefile
87smppsxaffinity02/Makefile
88smppsxsignal01/Makefile
89smpschedaffinity01/Makefile
90smpschedaffinity02/Makefile
91smpschedaffinity03/Makefile
92smpschedaffinity04/Makefile
93smpschedaffinity05/Makefile
94smpscheduler01/Makefile
95smpscheduler02/Makefile
96smpscheduler03/Makefile
97smpscheduler04/Makefile
98smpschedsem01/Makefile
99smpsignal01/Makefile
100smpswitchextension01/Makefile
101smpthreadlife01/Makefile
102smpunsupported01/Makefile
103smpwakeafter01/Makefile
104])
105AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.