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

4.11
Last change on this file since f2f211c5 was f2f211c5, checked in by Sebastian Huber <sebastian.huber@…>, on May 31, 2013 at 11:59:34 AM

smp: Add ARM support

  • Property mode set to 100644
File size: 445 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         arm|powerpc|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.