Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 15, 2004, 1:02:52 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: debug mode implemented ./configure —with-debug compiles in the Debug flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure.ac

    r3140 r3173  
    2222
    2323### CHECKING  OPTIONAT ARGUMENTS
     24## DEBUG-statement
     25DEBUG=no
     26AC_MSG_CHECKING([if DEBUG-mode should be enabled])
     27AC_ARG_WITH([debug],
     28        AC_HELP_STRING( [--with-debug], [compiles GTK in debug mode. Lots of Debug info about the game]),
     29         [DEBUG=yes])
     30echo "$DEBUG"
     31if test "$DEBUG" = yes; then
     32        AC_DEFINE_UNQUOTED(DEBUG, 1, [if we ar in Debug Mode])
     33fi
     34AC_SUBST(DEBUG)
     35
     36
    2437## GTK-disabled
    2538def_gtk=yes
     
    3851AC_MSG_CHECKING([if SDL_image should be enabled])
    3952AC_ARG_ENABLE([sdl_image],
    40         AC_HELP_STRING( [--disabel-sdl-image],
     53        AC_HELP_STRING( [--disable-sdl-image],
    4154        [Prevents SDL_image from being loaded]), [def_sdl_image=no])
    4255if test "$def_sdl_image" = yes; then
Note: See TracChangeset for help on using the changeset viewer.