source: rtems/testsuites/aclocal/check-multiprocessing.m4 @ 78ef0dc

4.104.114.84.95
Last change on this file since 78ef0dc was 0e8262cf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/26/03 at 06:21:00

2003-11-26 Ralf Corsepius <corsepiu@…>

  • aclocal/canonical-target-name.m4, aclocal/canonicalize-tools.m4, aclocal/check-custom-bsp.m4, aclocal/check-cxx.m4, aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, aclocal/check-networking.m4, aclocal/check-posix.m4, aclocal/check-tool.m4, aclocal/config-subdirs.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4, aclocal/project-root.m4, aclocal/rtems-test-no-pause.m4, aclocal/rtems-top.m4, aclocal/target.m4, aclocal/tool-paths.m4: Fix underquoting to silence automake-1.8.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1dnl
2dnl $Id$
3dnl
4
5AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING],
6[dnl
7AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl
8AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
9AC_REQUIRE([RTEMS_TOP])dnl
10AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
11AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
12
13AC_CACHE_CHECK([if wanting multiprocessing],
14  [rtems_cv_want_multiprocessing],
15  [
16    AS_IF([test x"$multilib" = x"no"],
17      [# no cpukit
18       rtems_cv_want_multiprocessing="$enable_multiprocessing"
19      ],[
20#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
21       rtems_cv_want_multiprocessing="$enable_multiprocessing"
22      ])
23  ])
24
25AS_IF([test "$rtems_cv_want_multiprocessing" = "yes"],
26[
27  AC_CACHE_CHECK([whether BSP supports multiprocessing],
28  [rtems_cv_HAS_MP],[
29    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
30        rtems_cv_HAS_MP="yes" ;
31    else
32        rtems_cv_HAS_MP="no";
33    fi
34  ])
35if test $rtems_cv_HAS_MP = "no"; then
36AC_MSG_ERROR([multiprocessing requested but not supported])
37fi
38],[rtems_cv_HAS_MP="no";])
39
40AC_SUBST(HAS_MP,[$rtems_cv_HAS_MP])
41])
Note: See TracBrowser for help on using the repository browser.