source: rtems/c/src/aclocal/check-multiprocessing.m4 @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING],
2[dnl
3AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl
4AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
5AC_REQUIRE([RTEMS_TOP])dnl
6AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
7AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
8
9AC_CACHE_CHECK([if wanting multiprocessing],
10  [rtems_cv_want_multiprocessing],
11  [
12    AS_IF([test x"$multilib" = x"no"],
13      [# no cpukit
14       rtems_cv_want_multiprocessing="$enable_multiprocessing"
15      ],[
16#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
17       rtems_cv_want_multiprocessing="$enable_multiprocessing"
18      ])
19  ])
20
21AS_IF([test "$rtems_cv_want_multiprocessing" = "yes"],
22[
23  AC_CACHE_CHECK([whether BSP supports multiprocessing],
24  [rtems_cv_HAS_MP],[
25    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
26        rtems_cv_HAS_MP="yes" ;
27    else
28        rtems_cv_HAS_MP="no";
29    fi
30  ])
31if test $rtems_cv_HAS_MP = "no"; then
32AC_MSG_ERROR([multiprocessing requested but not supported])
33fi
34],[rtems_cv_HAS_MP="no";])
35
36AM_CONDITIONAL(HAS_MP,[test x"$rtems_cv_HAS_MP" = x"yes"])
37])
Note: See TracBrowser for help on using the repository browser.