source: rtems/aclocal/enable-smp.m4 @ b6afcb6

4.11
Last change on this file since b6afcb6 was b6afcb6, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 28, 2011 at 8:43:53 PM

2011-05-24 Joel Sherrill <joel.sherrill@…>

PR 1810/misc

  • Property mode set to 100644
File size: 443 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=yes ;;
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.