source: rtems/aclocal/rtems-debug.m4 @ 73defea0

4.104.114.84.95
Last change on this file since 73defea0 was ba748523, checked in by Joel Sherrill <joel.sherrill@…>, on 12/20/01 at 17:33:23

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.
  • Property mode set to 100644
File size: 531 bytes
Line 
1## $Id$
2
3AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG,
4[
5AC_ARG_ENABLE(rtems-debug,
6AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
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])
12])
13
14AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG,
15[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG])
16AS_IF([test x"${enable_rtems_debug}" = x"yes"]
17  [AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])])
18])
19
Note: See TracBrowser for help on using the repository browser.