Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3205 in orxonox.OLD for orxonox/trunk/configure


Ignore:
Timestamp:
Dec 17, 2004, 7:27:59 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: DEBUG implemented in the configure-files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r3197 r3205  
    865865  --disable-dependency-tracking  speeds up one-time build
    866866  --enable-dependency-tracking   do not reject slow dependency extractors
    867   --enable-debug          compiles GTK in debug mode. Lots of Debug info about
    868                           the game
     867  --enable-debug          compiles in debug mode. Lots of debug info about the
     868                          game.
    869869
    870870Optional Packages:
     
    38463846if test "${enable_debug+set}" = set; then
    38473847  enableval="$enable_debug"
    3848   DEBUG=yes
     3848  DEBUG=$enableval
    38493849fi;
    3850 echo "$DEBUG"
    3851 if test "$DEBUG" = yes; then
     3850
     3851if test "$DEBUG" = "no"; then
     3852        echo "no"
     3853        echo " -> Setting debuglevel to 1. Like this you can still see errors."
     3854        DEBUG=1
     3855elif test "$DEBUG" = yes; then
     3856        echo "yes"
     3857        echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!."
     3858        DEBUG=3
     3859else
     3860        echo "yes set to $DEBUG"
     3861fi
    38523862
    38533863cat >>confdefs.h <<_ACEOF
    3854 #define DEBUG 1
    3855 _ACEOF
    3856 
    3857 fi
     3864#define DEBUG $DEBUG
     3865_ACEOF
     3866
     3867
    38583868
    38593869
    38603870
    38613871## GTK-disabled
    3862 def_gtk=yes
    38633872echo "$as_me:$LINENO: checking if gtk should be enabled" >&5
    38643873echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6
     
    38683877  withval="$with_gtk"
    38693878  def_gtk=no
     3879else
     3880  def_gtk=yes
    38703881fi;
    38713882if test "$def_gtk" = yes; then
Note: See TracChangeset for help on using the changeset viewer.