Changeset 27f9f12 in rtems


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.
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/ChangeLog

    r163abc10 r27f9f12  
     12002-06-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Remove references to RTEMS_BSP.
     4        * aclocal/check-multiprocessing.m4: Remove references to RTEMS_BSP.
     5        Allow building w/ --enable-multiprocessing --enable-multilib.
     6        * aclocal/enable-multiprocessing.m4:
     7        Eliminate RTEMS_HAS_MULTIPROCESSING.
     8
    192002-06-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • 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])
  • c/src/exec/aclocal/enable-multiprocessing.m4

    r163abc10 r27f9f12  
    55AC_ARG_ENABLE(multiprocessing,
    66AC_HELP_STRING([--enable-multiprocessing],[enable multiprocessing interface]),
    7 [case "${enableval}" in
    8   yes) RTEMS_HAS_MULTIPROCESSING=yes ;;
    9   no) RTEMS_HAS_MULTIPROCESSING=no ;;
     7[case "${enable_multiprocessing}" in
     8  yes) ;;
     9  no) ;;
    1010  *)  AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
    11 esac],[RTEMS_HAS_MULTIPROCESSING=no])
    12 AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
     11esac],[$enable_multiprocessing=no])
    1312])
  • c/src/exec/configure.ac

    r163abc10 r27f9f12  
    3636RTEMS_CHECK_NEWLIB
    3737
    38 RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
    39 RTEMS_CHECK_POSIX_API(RTEMS_BSP)
    40 RTEMS_CHECK_ITRON_API(RTEMS_BSP)
     38RTEMS_CHECK_MULTIPROCESSING
     39RTEMS_CHECK_POSIX_API
     40RTEMS_CHECK_ITRON_API
    4141RTEMS_CHECK_NETWORKING
    4242
  • cpukit/ChangeLog

    r163abc10 r27f9f12  
     12002-06-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Remove references to RTEMS_BSP.
     4        * aclocal/check-multiprocessing.m4: Remove references to RTEMS_BSP.
     5        Allow building w/ --enable-multiprocessing --enable-multilib.
     6        * aclocal/enable-multiprocessing.m4:
     7        Eliminate RTEMS_HAS_MULTIPROCESSING.
     8
    192002-06-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • cpukit/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])
  • cpukit/aclocal/enable-multiprocessing.m4

    r163abc10 r27f9f12  
    55AC_ARG_ENABLE(multiprocessing,
    66AC_HELP_STRING([--enable-multiprocessing],[enable multiprocessing interface]),
    7 [case "${enableval}" in
    8   yes) RTEMS_HAS_MULTIPROCESSING=yes ;;
    9   no) RTEMS_HAS_MULTIPROCESSING=no ;;
     7[case "${enable_multiprocessing}" in
     8  yes) ;;
     9  no) ;;
    1010  *)  AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
    11 esac],[RTEMS_HAS_MULTIPROCESSING=no])
    12 AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
     11esac],[$enable_multiprocessing=no])
    1312])
  • cpukit/configure.ac

    r163abc10 r27f9f12  
    3636RTEMS_CHECK_NEWLIB
    3737
    38 RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
    39 RTEMS_CHECK_POSIX_API(RTEMS_BSP)
    40 RTEMS_CHECK_ITRON_API(RTEMS_BSP)
     38RTEMS_CHECK_MULTIPROCESSING
     39RTEMS_CHECK_POSIX_API
     40RTEMS_CHECK_ITRON_API
    4141RTEMS_CHECK_NETWORKING
    4242
Note: See TracChangeset for help on using the changeset viewer.