summaryrefslogblamecommitdiffstats
path: root/aclocal/enable-rtems-debug.m4
blob: 1edcea0a593c18d9f9b304688a9c39d09e53c783 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

       
                                    

                          
                                                            





                                                                       
## $Id$

AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
[
AC_ARG_ENABLE(rtems-debug,
AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
[case "${enable_rtems_debug}" in
  yes) enable_rtems_debug=yes ;;
  no)  enable_rtems_debug=no ;;
  *) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;;
esac],[enable_rtems_debug=no])
])