source: rtems/aclocal/check-multiprocessing.m4 @ 6fc973e

4.104.114.84.95
Last change on this file since 6fc973e was 3a8915e, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/99 at 17:55:25

Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@…>
applied. This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.

  • Property mode set to 100644
File size: 578 bytes
Line 
1dnl
2dnl $Id$
3dnl
4
5AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
6[dnl
7AC_REQUIRE([RTEMS_TOP])dnl
8AC_REQUIRE([RTEMS_CHECK_CPU])dnl
9AC_CACHE_CHECK([whether BSP supports multiprocessing],
10  rtems_cv_HAS_MP,
11  [dnl
12    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${$1}/shmsupp"; then
13      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
14        rtems_cv_HAS_MP="yes" ;
15      else
16        rtems_cv_HAS_MP="disabled";
17      fi
18    else
19      rtems_cv_HAS_MP="no";
20    fi])
21if test "$rtems_cv_HAS_MP" = "yes"; then
22HAS_MP="yes"
23else
24HAS_MP="no"
25fi
26AC_SUBST(HAS_MP)
27])
Note: See TracBrowser for help on using the repository browser.