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