Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3592 in orxonox.OLD for orxonox/trunk/configure.ac


Ignore:
Timestamp:
Mar 17, 2005, 3:33:58 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: debug.h: now ability to choose between modular and not modular in configure through —disable-modular-debug. Also made it more runtime-proove. so now you have to set the mode in orxonox.cc too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r3569 r3592  
    5656if test x$DEBUG = xno; then
    5757        echo "no"
    58         echo " -> Setting debuglevel to 3. (orxonox is still in Development. It really is needed."
    59         DEBUG=3
     58        echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed."
     59        DEBUG=4
    6060elif test x$DEBUG = xyes; then
    6161        echo "yes"
     
    6868
    6969AC_SUBST(DEBUG)
     70
     71#---------------#
     72# Modular Debug #
     73#---------------#
     74MODULAR_DEBUG=yes
     75AC_MSG_CHECKING([if Modular-DEBUG-mode should be ebabled])
     76AC_ARG_ENABLE([modular-debug],
     77        AC_HELP_STRING( [--disable-modular-debug], [compiles in modular-debug mode, that logs differently on the many modules of orxonox.]),
     78         MODULAR_DEBUG=$enableval)
     79
     80if test x$MODULAR_DEBUG = xno; then
     81        echo "no"
     82elif test x$MODULAR_DEBUG = xyes; then
     83        echo "yes"
     84        AC_DEFINE_UNQUOTED(MODULAR_DEBUG, 1, [if Modular-DUBUG mode is enabled])
     85fi
    7086
    7187#--------------#
Note: See TracChangeset for help on using the changeset viewer.