diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | aclocal/enable-smp.m4 | 18 |
2 files changed, 23 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com> + + PR 1729/cpukit + * aclocal/enable-smp.m4: New file. + 2011-03-14 Joel Sherrill <joel.sherrilL@OARcorp.com> * Makefile.maint: Remove started_ada. diff --git a/aclocal/enable-smp.m4 b/aclocal/enable-smp.m4 new file mode 100644 index 0000000000..97cfef18c9 --- /dev/null +++ b/aclocal/enable-smp.m4 @@ -0,0 +1,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]) +]) |