summaryrefslogtreecommitdiffstats
path: root/aclocal/enable-multiprocessing.m4
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-04-09 16:36:12 +1000
committerChris Johns <chrisj@rtems.org>2018-04-10 08:22:07 +1000
commite1664027fe334db174ed74372138d3236f89b52c (patch)
tree3f21e5787f8445532c23c3278f7017386879a61d /aclocal/enable-multiprocessing.m4
parentGenerate an error if no valid gcc is found when configure runs. (diff)
downloadrtems-e1664027fe334db174ed74372138d3236f89b52c.tar.bz2
Require the user to provide a BSP list when build SMP or MP.
Close 3383.
Diffstat (limited to '')
-rw-r--r--aclocal/enable-multiprocessing.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/aclocal/enable-multiprocessing.m4 b/aclocal/enable-multiprocessing.m4
index 53fa8ffe81..6f8843d1f6 100644
--- a/aclocal/enable-multiprocessing.m4
+++ b/aclocal/enable-multiprocessing.m4
@@ -5,8 +5,9 @@ AC_ARG_ENABLE(multiprocessing,
[enable multiprocessing interface; the multiprocessing interface is a
communication interface between different RTEMS instances and allows
synchronization of objects via message passing])],
-[case "${enable_multiprocessing}" in
- yes) ;;
+[case "${enable_multiprocessing}" in
+ yes) test -z $enable_rtemsbsp && AC_MSG_ERROR([Multiprocessing requires BSPs to be provided, none have, see --enable-rtemsbsp])
+ ;;
no) ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
esac],[enable_multiprocessing=no])