4.115
Last change
on this file since 4778c6e0 was
5e5cf07,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/19/04 at 06:08:15
|
2004-02-19 Ralf Corsepius <corsepiu@…>
- libchip/Makefile.am, librdbg/Makefile.am, optman/Makefile.am:
Preinstall dirs.
- wrapup/Makefile.am: Preinstall dirs. Cosmetics.
- aclocal/check-multiprocessing.m4: Cosmetics.
- aclocal/env-rtemsbsp.m4: Remove RTEMS_ROOT.
- aclocal/project-root.m4: Remove obsolete comments. Remove PACKHEX.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[867ab080] | 1 | dnl |
---|
| 2 | dnl $Id$ |
---|
| 3 | dnl |
---|
| 4 | |
---|
[3993b6f7] | 5 | AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING], |
---|
[867ab080] | 6 | [dnl |
---|
| 7 | AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl |
---|
| 8 | AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl |
---|
| 9 | AC_REQUIRE([RTEMS_TOP])dnl |
---|
[3993b6f7] | 10 | AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl |
---|
[867ab080] | 11 | AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl |
---|
| 12 | |
---|
| 13 | AC_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 | |
---|
| 25 | AS_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 | ]) |
---|
| 35 | if test $rtems_cv_HAS_MP = "no"; then |
---|
| 36 | AC_MSG_ERROR([multiprocessing requested but not supported]) |
---|
| 37 | fi |
---|
| 38 | ],[rtems_cv_HAS_MP="no";]) |
---|
| 39 | |
---|
[5e5cf07] | 40 | AM_CONDITIONAL(HAS_MP,[test x"$rtems_cv_HAS_MP" = x"yes"]) |
---|
[867ab080] | 41 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.