source: rtems/c/src/exec/aclocal/rtems-debug.m4 @ 6ba9c27

4.104.114.84.95
Last change on this file since 6ba9c27 was ed8ec1c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/17/02 at 08:52:47

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

  • copied over from aclocal/.
  • 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.