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

4.115
Last change on this file since d5f3485 was d5f3485, checked in by Joel Sherrill <joel.sherrill@…>, on 03/16/11 at 20:07:11

2011-03-16 Jennifer Averett <jennifer.averett@…>

PR 1729/cpukit

  • aclocal/check-smp.m4, aclocal/enable-smp.m4: New files.
  • 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.