From 97e2729d1a3432b9792b82ce88ce6d804a104f7a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 23 Nov 1998 17:38:09 +0000 Subject: Added --disable-multiprocessing flag and modified a lot of files to make it work. --- configure.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 24b8f8c102..a796507327 100644 --- a/configure.in +++ b/configure.in @@ -19,6 +19,14 @@ AC_ARG_ENABLE(gmake-print-directory, \ *) AC_MSG_ERROR(bad value ${enableval} for gmake-print-directory option) ;; esac],[RTEMS_USE_OWN_PDIR=yes]) +AC_ARG_ENABLE(multiprocessing, \ +[ --enable-multiprocessing enable multiprocessing interface], \ +[case "${enableval}" in + yes) RTEMS_HAS_MULTIPROCESSING=yes ;; + no) RTEMS_HAS_MULTIPROCESSING=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;; +esac],[RTEMS_HAS_MULTIPROCESSING=no]) + AC_ARG_ENABLE(posix, \ [ --enable-posix enable posix interface], \ [case "${enableval}" in @@ -426,7 +434,9 @@ if test "$tests_enabled" = "yes"; then RTEMS_CHECK_MAKEFILE(c/src/tests/libtests) RTEMS_CHECK_MAKEFILE(c/src/tests/sptests) RTEMS_CHECK_MAKEFILE(c/src/tests/tmtests) - RTEMS_CHECK_MAKEFILE(c/src/tests/mptests) + if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then + RTEMS_CHECK_MAKEFILE(c/src/tests/mptests) + fi if test "$RTEMS_HAS_POSIX_API" = "yes"; then RTEMS_CHECK_MAKEFILE(c/src/tests/psxtests) fi -- cgit v1.2.3