source: rtems/aclocal/check-multiprocessing.m4 @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

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