diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-02 15:33:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-02 15:33:26 +0000 |
commit | fdb37e81ecb6b66685cc06bf0f2bab62e4f59dce (patch) | |
tree | 518b98f16a217cf39554c60b06fd98c002316959 /aclocal | |
parent | Added more sections to pick up all of the new C++ sections. (diff) | |
download | rtems-fdb37e81ecb6b66685cc06bf0f2bab62e4f59dce.tar.bz2 |
New file from Ralf Corsepius <corsepiu@faw.uni-ulm.de> missed being added
in a previous patch.
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/check-multiprocessing.m4 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/aclocal/check-multiprocessing.m4 b/aclocal/check-multiprocessing.m4 new file mode 100644 index 0000000000..1e65a0a644 --- /dev/null +++ b/aclocal/check-multiprocessing.m4 @@ -0,0 +1,26 @@ +dnl $Id$ + +AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, +[dnl +AC_REQUIRE([RTEMS_TOP])dnl +AC_REQUIRE([RTEMS_CHECK_CPU])dnl +AC_CACHE_CHECK([whether BSP supports multiprocessing], + rtems_cv_HAS_MP, + [dnl + if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${$1}/shmsupp"; then + if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then + rtems_cv_HAS_MP="yes" ; + else + rtems_cv_HAS_MP="disabled"; + fi + else + rtems_cv_HAS_MP="no"; + fi + ]) +if test "$rtems_cv_HAS_MP" = "yes"; then +HAS_MP="yes" +else +HAS_MP="no" +fi +AC_SUBST(HAS_MP) +]) |