Changeset 3205 in orxonox.OLD for orxonox/trunk/configure.ac
- Timestamp:
- Dec 17, 2004, 7:27:59 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/configure.ac
r3197 r3205 26 26 AC_MSG_CHECKING([if DEBUG-mode should be enabled]) 27 27 AC_ARG_ENABLE([debug], 28 AC_HELP_STRING( [--enable-debug], [compiles GTK in debug mode. Lots of Debug info about the game]), 29 [DEBUG=yes]) 30 echo "$DEBUG" 31 if test "$DEBUG" = yes; then 32 AC_DEFINE_UNQUOTED(DEBUG, 1, [if we ar in Debug Mode]) 33 fi 28 AC_HELP_STRING( [--enable-debug], [compiles in debug mode. Lots of debug info about the game.]), 29 DEBUG=$enableval) 30 31 if test "$DEBUG" = "no"; then 32 echo "no" 33 echo " -> Setting debuglevel to 1. Like this you can still see errors." 34 DEBUG=1 35 elif test "$DEBUG" = yes; then 36 echo "yes" 37 echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!." 38 DEBUG=3 39 else 40 echo "yes set to $DEBUG" 41 fi 42 AC_DEFINE_UNQUOTED(DEBUG, $DEBUG, [in which debug mode we are]) 43 34 44 AC_SUBST(DEBUG) 35 45 36 46 37 47 ## GTK-disabled 38 def_gtk=yes39 48 AC_MSG_CHECKING([if gtk should be enabled]) 40 49 AC_ARG_WITH([gtk], 41 50 AC_HELP_STRING( [--without-gtk], 42 [Prevents GTK from being loaded]), [def_gtk=no] )51 [Prevents GTK from being loaded]), [def_gtk=no], [def_gtk=yes]) 43 52 if test "$def_gtk" = yes; then 44 53 echo "yes"
Note: See TracChangeset
for help on using the changeset viewer.