Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3181 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Dec 15, 2004, 2:08:08 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: without-gtk/sdl makes more sense than enable. I think

Location:
orxonox/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r3180 r3181  
    865865  --disable-dependency-tracking  speeds up one-time build
    866866  --enable-dependency-tracking   do not reject slow dependency extractors
    867   --disable-gtk           Prevents GTK from being loaded
    868   --disable-sdl-image     Prevents SDL_image from being loaded
     867  --enable-debug          compiles GTK in debug mode. Lots of Debug info about
     868                          the game
    869869
    870870Optional Packages:
    871871  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    872872  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    873   --with-debug            compiles GTK in debug mode. Lots of Debug info about
    874                           the game
     873  --without-gtk           Prevents GTK from being loaded
     874  --without-sdl-image     Prevents SDL_image from being loaded
    875875
    876876Some influential environment variables:
     
    38433843echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5
    38443844echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6
    3845 
    3846 # Check whether --with-debug or --without-debug was given.
    3847 if test "${with_debug+set}" = set; then
    3848   withval="$with_debug"
     3845# Check whether --enable-debug or --disable-debug was given.
     3846if test "${enable_debug+set}" = set; then
     3847  enableval="$enable_debug"
    38493848  DEBUG=yes
    38503849fi;
     
    38643863echo "$as_me:$LINENO: checking if gtk should be enabled" >&5
    38653864echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6
    3866 # Check whether --enable-gtk or --disable-gtk was given.
    3867 if test "${enable_gtk+set}" = set; then
    3868   enableval="$enable_gtk"
     3865
     3866# Check whether --with-gtk or --without-gtk was given.
     3867if test "${with_gtk+set}" = set; then
     3868  withval="$with_gtk"
    38693869  def_gtk=no
    38703870fi;
     
    38793879echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5
    38803880echo $ECHO_N "checking if SDL_image should be enabled... $ECHO_C" >&6
    3881 # Check whether --enable-sdl_image or --disable-sdl_image was given.
    3882 if test "${enable_sdl_image+set}" = set; then
    3883   enableval="$enable_sdl_image"
     3881
     3882# Check whether --with-sdl_image or --without-sdl_image was given.
     3883if test "${with_sdl_image+set}" = set; then
     3884  withval="$with_sdl_image"
    38843885  def_sdl_image=no
    38853886fi;
  • orxonox/trunk/configure.ac

    r3180 r3181  
    2525DEBUG=no
    2626AC_MSG_CHECKING([if DEBUG-mode should be enabled])
    27 AC_ARG_WITH([debug],
    28         AC_HELP_STRING( [--with-debug], [compiles GTK in debug mode. Lots of Debug info about the game]),
     27AC_ARG_ENABLE([debug],
     28        AC_HELP_STRING( [--enable-debug], [compiles GTK in debug mode. Lots of Debug info about the game]),
    2929         [DEBUG=yes])
    3030echo "$DEBUG"
     
    3838def_gtk=yes
    3939AC_MSG_CHECKING([if gtk should be enabled])
    40 AC_ARG_ENABLE([gtk],
    41         AC_HELP_STRING( [--disable-gtk],
     40AC_ARG_WITH([gtk],
     41        AC_HELP_STRING( [--without-gtk],
    4242        [Prevents GTK from being loaded]), [def_gtk=no])
    4343if test "$def_gtk" = yes; then
     
    5050def_sdl_image=yes
    5151AC_MSG_CHECKING([if SDL_image should be enabled])
    52 AC_ARG_ENABLE([sdl_image],
    53         AC_HELP_STRING( [--disable-sdl-image],
     52AC_ARG_WITH([sdl_image],
     53        AC_HELP_STRING( [--without-sdl-image],
    5454        [Prevents SDL_image from being loaded]), [def_sdl_image=no])
    5555if test "$def_sdl_image" = yes; then
Note: See TracChangeset for help on using the changeset viewer.