source: rtems/testsuites/smptests/configure.ac @ e239760

4.115
Last change on this file since e239760 was e239760, checked in by Sebastian Huber <sebastian.huber@…>, on 04/29/14 at 14:09:35

score: SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS

Avoid the SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS fatal error and make it
a run-time error in rtems_scheduler_ident() and _Scheduler_Get_by_id().

  • Property mode set to 100644
File size: 2.2 KB
RevLine 
[e049eea]1## Process this file with autoconf to produce a configure script.
2
[0f77281]3AC_PREREQ([2.69])
[e049eea]4AC_INIT([rtems-c-src-tests-smptests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
5AC_CONFIG_SRCDIR([smp01])
6AC_CONFIG_HEADER([config.h])
7RTEMS_TOP([../..],[..])
8
9RTEMS_CANONICAL_TARGET_CPU
10
[bb2b825]11AM_INIT_AUTOMAKE([no-define foreign 1.12.2])
[e049eea]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
[876dcd02]25RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
[2e7f5798]26
[e049eea]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
[876dcd02]35AM_CONDITIONAL([HAS_POSIX],[test x"${rtems_cv_RTEMS_POSIX_API}" = xyes])
[2e7f5798]36
[2729c1c2]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
[e049eea]58# Explicitly list all Makefiles here
59AC_CONFIG_FILES([Makefile
60smp01/Makefile
61smp02/Makefile
62smp03/Makefile
63smp05/Makefile
64smp07/Makefile
65smp08/Makefile
66smp09/Makefile
[a3e055f]67smpaffinity01/Makefile
[33e18a4]68smpatomic01/Makefile
[7336be9d]69smpfatal01/Makefile
70smpfatal02/Makefile
[ba25cc2]71smpfatal03/Makefile
[c5831a3f]72smpfatal04/Makefile
73smpfatal05/Makefile
74smpfatal07/Makefile
75smpfatal08/Makefile
76smpload01/Makefile
[bbed1866]77smplock01/Makefile
[b9000fd5]78smpmigration01/Makefile
[f3e6b18]79smppsxaffinity01/Makefile
[2ef0328]80smppsxaffinity02/Makefile
[876dcd02]81smppsxsignal01/Makefile
[c3cd7e7]82smpscheduler01/Makefile
[c5831a3f]83smpscheduler02/Makefile
[d4f13d1]84smpsignal01/Makefile
[20bb89d]85smpswitchextension01/Makefile
[5c731a83]86smpthreadlife01/Makefile
[f913c79]87smpunsupported01/Makefile
[e049eea]88])
89AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.