source: rtems/c/src/aclocal/enable-smp.m4 @ 7c3b0df1

5
Last change on this file since 7c3b0df1 was aec0e195, checked in by Sebastian Huber <sebastian.huber@…>, on 06/10/13 at 08:10:43

configure: Documentation

  • Property mode set to 100644
File size: 475 bytes
RevLine 
[d5f3485]1AC_DEFUN([RTEMS_ENABLE_SMP],
2[
3## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
4
5AC_ARG_ENABLE(smp,
[aec0e195]6[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing
7(SMP)])],
[d5f3485]8[case "${enableval}" in
9  yes) case "${RTEMS_CPU}" in
[f2f211c5]10         arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
[d5f3485]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])
17])
Note: See TracBrowser for help on using the repository browser.