summaryrefslogtreecommitdiffstats
path: root/c/src/exec/aclocal/enable-multiprocessing.m4
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/aclocal/enable-multiprocessing.m4')
-rw-r--r--c/src/exec/aclocal/enable-multiprocessing.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/c/src/exec/aclocal/enable-multiprocessing.m4 b/c/src/exec/aclocal/enable-multiprocessing.m4
new file mode 100644
index 0000000000..6e9a87e04a
--- /dev/null
+++ b/c/src/exec/aclocal/enable-multiprocessing.m4
@@ -0,0 +1,13 @@
+dnl $Id$
+
+AC_DEFUN(RTEMS_ENABLE_MULTIPROCESSING,
+[
+AC_ARG_ENABLE(multiprocessing,
+AC_HELP_STRING([--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_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
+])