source: rtems/aclocal/rtems-debug.m4 @ f92cc34

4.104.114.84.95
Last change on this file since f92cc34 was e712997, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 13, 2001 at 1:14:30 PM

2001-07-19 Ralf Corsepius <corsepiu@…>

  • configure.in: autoupdate to autoconf-2.52.
  • bootstrap: Add handling for configure.ac, make autoheader verbose, fix auto*tool invocation order.
  • aclocal/rtems-test-no-pause.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-bare.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-cxx.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-gcc28: Introduce AC_HELP_STRING.
  • aclocal/enable-inlines.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-itron.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-libcdir.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-multiprocessing.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-networking.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-posix.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-rdbg.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-rtemsbsp.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-tests.m4: Introduce AC_HELP_STRING.
  • aclocal/env-rtemsbsp.m4: Add AC_ARC_VAR(RTEMS_BSP), apply true in RTEMS_CONFIG_PER_BSP conditional.
  • aclocal/multilib.m4: Introduce AC_HELP_STRING.
  • aclocal/rtems-debug.m4: Introduce AC_HELP_STRING.
  • aclocal/rtems-top.m4: Add AC_PREFIX_DEFAULT(/opt/rtems).
  • Property mode set to 100644
File size: 485 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 "${enableval}" in
8  yes) RTEMS_DEBUG=yes ;;
9  no) RTEMS_DEBUG=no ;;
10  *) AC_MSG_ERROR([bad value ${enableval} for RTEMS_DEBUG]) ;;
11esac],[RTEMS_DEBUG=no])
12])
13
14AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG,
15[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG])
16if test x"${RTEMS_DEBUG}" = x"yes";
17then
18  AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])
19fi
20])
21
Note: See TracBrowser for help on using the repository browser.