source: rtems-schedsim/aclocal/enable-smp.m4 @ abb18dc

base initial
Last change on this file since abb18dc was abb18dc, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 25, 2011 at 3:53:10 PM

Initial import.

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