source: rtems/testsuites/smptests/configure.ac @ 63e2ca1b

5
Last change on this file since 63e2ca1b was 3a27248, checked in by Sebastian Huber <sebastian.huber@…>, on 10/21/16 at 07:23:58

score: First part of new MrsP implementation

Update #2556.

  • Property mode set to 100644
File size: 2.6 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# Added to newlib pthreads for RTEMS SMP (np), may not be present
55AC_CHECK_HEADERS([sys/cpuset.h])
56AM_CONDITIONAL(HAS_CPUSET,test x"${ac_cv_header_sys_cpuset_h}" = x"yes")
57
58# Explicitly list all Makefiles here
59AC_CONFIG_FILES([Makefile
60smpmutex02/Makefile
61smppsxmutex01/Makefile
62smpstrongapa01/Makefile
63smp01/Makefile
64smp02/Makefile
65smp03/Makefile
66smp05/Makefile
67smp07/Makefile
68smp08/Makefile
69smp09/Makefile
70smpaffinity01/Makefile
71smpatomic01/Makefile
72smpcache01/Makefile
73smpcapture01/Makefile
74smpcapture02/Makefile
75smpclock01/Makefile
76smpfatal01/Makefile
77smpfatal02/Makefile
78smpfatal03/Makefile
79smpfatal04/Makefile
80smpfatal05/Makefile
81smpfatal08/Makefile
82smpipi01/Makefile
83smpload01/Makefile
84smplock01/Makefile
85smpmigration01/Makefile
86smpmigration02/Makefile
87smpmrsp01/Makefile
88smpmutex01/Makefile
89smppsxaffinity01/Makefile
90smppsxaffinity02/Makefile
91smppsxsignal01/Makefile
92smpschedaffinity01/Makefile
93smpschedaffinity02/Makefile
94smpschedaffinity03/Makefile
95smpschedaffinity04/Makefile
96smpschedaffinity05/Makefile
97smpscheduler01/Makefile
98smpscheduler02/Makefile
99smpscheduler03/Makefile
100smpschedsem01/Makefile
101smpsignal01/Makefile
102smpswitchextension01/Makefile
103smpthreadlife01/Makefile
104smpunsupported01/Makefile
105smpwakeafter01/Makefile
106])
107AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.