Changeset ba748523 in rtems for aclocal/rtems-debug.m4


Ignore:
Timestamp:
Dec 20, 2001, 5:33:23 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8fec915
Parents:
f92cc34
Message:

2001-12-20 Ralf Corsepius <corsepiu@…>

  • configure.ac: Reworked for multilibs, reflect changes to aclocal/*.m4.
  • aclocal/subdirs.m4: New file.
  • aclocal/multi.m4: New file, adopted from autoconf-2.52 w/ modifications.
  • aclocal/check-posix.m4: Apply AS_IF.
  • aclocal/config-subdirs.m4: Reflect changes to other m4-macros.
  • aclocal/env-rtemsbsp.m4: Add PROJECT_INCLUDE, PROJECT_RELEASE. Add AM_CONDITIONAL(MULTILIB). Adapt GCC_SPECS to multilibs.
  • aclocal/env-rtemscpu.m4: Remove RTEMS_BSP. Add support for MULTIBUILDTOP, MULTISUBDIR. Adapt GCC_SPECS to multilibs. Add PROJECT_INCLUDE, PROJECT_RELEASE, includedir, libdir.
  • aclocal/multilib.m4: Fix m4-quoting, adopt automake-1.5's OUTPUT_COMMANDS.
  • aclocal/project-root.m4: Remove PROJECT_INCLUDE, PROJECT_RELEASE.
  • aclocal/rtems-debug.m4: Minor cleanups.
  • aclocal/rtems-top.m4: Minor cleanups.
  • automake/compile.am: Further steps towards automake's rules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/rtems-debug.m4

    rf92cc34 rba748523  
    55AC_ARG_ENABLE(rtems-debug,
    66AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
    7 [case "${enableval}" in
    8   yes) RTEMS_DEBUG=yes ;;
    9   no) RTEMS_DEBUG=no ;;
    10   *) AC_MSG_ERROR([bad value ${enableval} for RTEMS_DEBUG]) ;;
    11 esac],[RTEMS_DEBUG=no])
     7[case "${enable_rtems_debug}" in
     8  yes) enable_rtems_debug=yes ;;
     9  no)  enable_rtems_debug=no ;;
     10  *) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;;
     11esac],[enable_rtems_debug=no])
    1212])
    1313
    1414AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG,
    1515[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG])
    16 if test x"${RTEMS_DEBUG}" = x"yes";
    17 then
    18   AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])
    19 fi
     16AS_IF([test x"${enable_rtems_debug}" = x"yes"]
     17  [AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])])
    2018])
    2119
Note: See TracChangeset for help on using the changeset viewer.