source: rtems/c/src/aclocal/enable-smp.m4 @ 91d2e18

4.115
Last change on this file since 91d2e18 was 91d2e18, checked in by Ralf Corsépius <ralf.corsepius@…>, on May 4, 2012 at 6:53:58 AM

Remove CVS-Ids.

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