Ignore:
Timestamp:
Jun 26, 2002, 10:56:24 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b2d72c67
Parents:
163abc10
Message:

2002-06-26 Ralf Corsepius <corsepiu@…>

  • configure.ac: Remove references to RTEMS_BSP.
  • aclocal/check-multiprocessing.m4: Remove references to RTEMS_BSP. Allow building w/ --enable-multiprocessing --enable-multilib.
  • aclocal/enable-multiprocessing.m4: Eliminate RTEMS_HAS_MULTIPROCESSING.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/aclocal/check-multiprocessing.m4

    r163abc10 r27f9f12  
    55AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
    66[dnl
    7 AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl
    8 AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
    9 AC_REQUIRE([RTEMS_TOP])dnl
     7AC_REQUIRE([RTEMS_ENV_RTEMSCPU])dnl
    108AC_REQUIRE([RTEMS_CHECK_CPU])dnl
    119AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
    12 AC_REQUIRE([RTEMS_BSP_ALIAS])dnl
    1310
    14 AC_CACHE_CHECK([whether BSP supports multiprocessing],
    15   rtems_cv_HAS_MP,
    16   [dnl
    17     if test x"$multilib" = x"yes"; then
    18       # FIXME: Currently, multilibs and multiprocessing can not be
    19       # build simultaneously
    20       rtems_cv_HAS_MP="disabled"
    21     else
    22       if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
    23         if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
    24           rtems_cv_HAS_MP="yes" ;
    25         else
    26           rtems_cv_HAS_MP="disabled";
    27         fi
    28       else
    29         rtems_cv_HAS_MP="no";
    30       fi
    31     fi])
    32 if test "$rtems_cv_HAS_MP" = "yes"; then
    33 HAS_MP="yes"
    34 else
    35 HAS_MP="no"
    36 fi
    37 AC_SUBST(HAS_MP)
     11AS_IF([test "$enable_multiprocessing" = "yes"],
     12  [HAS_MP="yes"],
     13  [HAS_MP="no"])
    3814])
    3915
     
    4218if test x"${HAS_MP}" = x"yes";
    4319then
    44   AC_DEFINE_UNQUOTED(RTEMS_MULTIPROCESSING,1,[if multiprocessing is supported])
     20  AC_DEFINE_UNQUOTED(RTEMS_MULTIPROCESSING,1,[if multiprocessing is enabled])
    4521fi
    4622])
Note: See TracChangeset for help on using the changeset viewer.