source: rtems/c/src/aclocal/check-multiprocessing.m4 @ 867ab080

4.104.114.84.95
Last change on this file since 867ab080 was 867ab080, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 18, 2003 at 6:35:41 AM

2003-08-18 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-alias.m4: New (Copied from ../../aclocal).
  • aclocal/bsp-arg-enable.m4: New (Copied from ../../aclocal).
  • aclocal/bsp-configure.m4: New (Copied from ../../aclocal).
  • aclocal/bspopts.m4: New (Copied from ../../aclocal).
  • aclocal/canonical-host.m4: New (Copied from ../../aclocal).
  • aclocal/canonicalize-tools.m4: New (Copied from ../../aclocal).
  • aclocal/canonical-target-name.m4: New (Copied from ../../aclocal).
  • aclocal/check-cpu.m4: New (Copied from ../../aclocal).
  • aclocal/check-custom-bsp.m4: New (Copied from ../../aclocal).
  • aclocal/check-cxx.m4: New (Copied from ../../aclocal).
  • aclocal/check-itron.m4: New (Copied from ../../aclocal).
  • aclocal/check-multiprocessing.m4: New (Copied from ../../aclocal).
  • aclocal/check-networking.m4: New (Copied from ../../aclocal).
  • aclocal/check-posix.m4: New (Copied from ../../aclocal).
  • aclocal/check-rdbg.m4: New (Copied from ../../aclocal).
  • aclocal/check-tool.m4: New (Copied from ../../aclocal).
  • aclocal/config-subdirs.m4: New (Copied from ../../aclocal).
  • aclocal/enable-bare.m4: New (Copied from ../../aclocal).
  • aclocal/enable-cxx.m4: New (Copied from ../../aclocal).
  • aclocal/enable-inlines.m4: New (Copied from ../../aclocal).
  • aclocal/enable-itron.m4: New (Copied from ../../aclocal).
  • aclocal/enable-multiprocessing.m4: New (Copied from ../../aclocal).
  • aclocal/enable-networking.m4: New (Copied from ../../aclocal).
  • aclocal/enable-posix.m4: New (Copied from ../../aclocal).
  • aclocal/enable-rdbg.m4: New (Copied from ../../aclocal).
  • aclocal/enable-rtemsbsp.m4: New (Copied from ../../aclocal).
  • aclocal/env-rtemsbsp.m4: New (Copied from ../../aclocal).
  • aclocal/gcc-isystem.m4: New (Copied from ../../aclocal).
  • aclocal/gcc-pipe.m4: New (Copied from ../../aclocal).
  • aclocal/gcc-specs.m4: New (Copied from ../../aclocal).
  • aclocal/i386-gas-code16.m4: New (Copied from ../../aclocal).
  • aclocal/multilib.m4: New (Copied from ../../aclocal).
  • aclocal/path-ksh.m4: New (Copied from ../../aclocal).
  • aclocal/path-perl.m4: New (Copied from ../../aclocal).
  • aclocal/ppc.m4: New (Copied from ../../aclocal).
  • aclocal/prog-ccas.m4: New (Copied from ../../aclocal).
  • aclocal/prog-cc.m4: New (Copied from ../../aclocal).
  • aclocal/prog-cxx.m4: New (Copied from ../../aclocal).
  • aclocal/project-root.m4: New (Copied from ../../aclocal).
  • aclocal/quoting.m4: New (Copied from ../../aclocal).
  • aclocal/rtems-cpu-subdirs.m4: New (Copied from ../../aclocal).
  • aclocal/rtems-flags.m4: New (Copied from ../../aclocal).
  • aclocal/rtems-top.m4: New (Copied from ../../aclocal).
  • aclocal/target.m4: New (Copied from ../../aclocal).
  • aclocal/tool-paths.m4: New (Copied from ../../aclocal).
  • aclocal/version.m4: New (Copied from ../../aclocal).
  • 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_CHECK_CPU])dnl
11AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
12AC_REQUIRE([RTEMS_BSP_ALIAS])dnl
13
14AC_CACHE_CHECK([if wanting multiprocessing],
15  [rtems_cv_want_multiprocessing],
16  [
17    AS_IF([test x"$multilib" = x"no"],
18      [# no cpukit
19       rtems_cv_want_multiprocessing="$enable_multiprocessing"
20      ],[
21#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
22       rtems_cv_want_multiprocessing="$enable_multiprocessing"
23      ])
24  ])
25
26AS_IF([test "$rtems_cv_want_multiprocessing" = "yes"],
27[
28  AC_CACHE_CHECK([whether BSP supports multiprocessing],
29  [rtems_cv_HAS_MP],[
30    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
31        rtems_cv_HAS_MP="yes" ;
32    else
33        rtems_cv_HAS_MP="no";
34    fi
35  ])
36if test $rtems_cv_HAS_MP = "no"; then
37AC_MSG_ERROR([multiprocessing requested but not supported])
38fi
39],[rtems_cv_HAS_MP="no";])
40
41AC_SUBST(HAS_MP,[$rtems_cv_HAS_MP])
42])
Note: See TracBrowser for help on using the repository browser.