OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [check-multiprocessing.m4] - Blame information for rev 609

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl
2
dnl $Id: check-multiprocessing.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
3
dnl
4
 
5
AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
6
[dnl
7
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
8
AC_REQUIRE([RTEMS_TOP])dnl
9
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
10
AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
11
 
12
AC_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])
25
if test "$rtems_cv_HAS_MP" = "yes"; then
26
HAS_MP="yes"
27
else
28
HAS_MP="no"
29
fi
30
AC_SUBST(HAS_MP)
31
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.