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

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

Patch rtems-rc-20000614-1-cvs.diff from Ralf Corsepius
<corsepiu@…> that addresses a couple of
minor configuration issues which popped up when
experimenting with multilibs.

Note: The multigen generated make/custom/bare-*.cfg will still be
non-functional, even after having applied this patch.

  • Property mode set to 100644
File size: 708 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
11AC_REQUIRE([RTEMS_BSP_ALIAS])dnl
12
13AC_CACHE_CHECK([whether BSP supports multiprocessing],
14  rtems_cv_HAS_MP,
15  [dnl
16    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/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.