source: rtems/c/src/aclocal/enable-smp.m4 @ 1bdf578e

4.11
Last change on this file since 1bdf578e was 1bdf578e, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 11, 2016 at 7:29:08 AM

Clearly mark SMP support as experimental in 4.11

  • Property mode set to 100644
File size: 632 bytes
Line 
1AC_DEFUN([RTEMS_ENABLE_SMP],
2[
3## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
4
5AC_ARG_ENABLE(experimental-smp,
6[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
7(SMP)])],
8[case "${enableval}" in
9  yes) case "${RTEMS_CPU}" in
10         arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
11         *)          RTEMS_HAS_SMP=no ;;
12       esac
13       ;;
14  no) RTEMS_HAS_SMP=no ;;
15  *)  AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
16esac],[RTEMS_HAS_SMP=no])
17AC_ARG_ENABLE(smp,
18[],
19[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
20[])
21])
Note: See TracBrowser for help on using the repository browser.