summaryrefslogtreecommitdiffstats
path: root/aclocal/enable-smp.m4
blob: 97cfef18c90ea584a8cd7358bb74264ccce291e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl $Id$

AC_DEFUN([RTEMS_ENABLE_SMP],
[
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl

AC_ARG_ENABLE(smp,
[AS_HELP_STRING([--enable-smp],[enable smp interface])],
[case "${enableval}" in 
  yes) case "${RTEMS_CPU}" in
         sparc|i386) RTEMS_HAS_SMP=no ;;
         *)          RTEMS_HAS_SMP=no ;;
       esac
       ;;
  no) RTEMS_HAS_SMP=no ;;
  *)  AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no]) 
])