compilerflag added to disable the compilesupport for GDB

origin
stpohle 22 years ago
parent 2ba905cadd
commit a7f683c7b9

@ -1,4 +1,8 @@
$Id: ChangeLog,v 1.48 2004/01/03 03:01:30 stpohle Exp $ $Id: ChangeLog,v 1.49 2004/01/06 04:27:21 stpohle Exp $
- Compiler Flag added for disabling debuging. Compiler
Flags -ggdb and -O0 won'T be set no more.
./configure --disable-debug
- Added smal help screen in the multiplayer selection - Added smal help screen in the multiplayer selection
screen. screen.
@ -25,7 +29,10 @@ $Id: ChangeLog,v 1.48 2004/01/03 03:01:30 stpohle Exp $
- FullScreen switching from within the game - FullScreen switching from within the game
by pressing (F8 Works for some Reason only by pressing (F8 Works for some Reason only
in Windows) in Linux)
- Changed part of the Networkhandling to detect who
is the Game Server.
- AI Players can join network games. - AI Players can join network games.

@ -30,8 +30,8 @@ dnl Check for SDL
AC_MSG_ERROR(SDL not found. Make sure sdl-config is in your PATH, or specify with --with-sdl-prefix) AC_MSG_ERROR(SDL not found. Make sure sdl-config is in your PATH, or specify with --with-sdl-prefix)
) )
CFLAGS="$SDL_CFLAGS $CFLAGS -ggdb" CFLAGS="$SDL_CFLAGS $CFLAGS"
LIBS="$SDL_LIBS $LIBS -ggdb" LIBS="$SDL_LIBS $LIBS"
dnl Checks for header files. dnl Checks for header files.
@ -63,7 +63,17 @@ case "$target" in
fi fi
;; ;;
esac esac
dnl Debug ************************************
AC_ARG_ENABLE(debug, [ --disable-debug Disable Debuging ])
if test x$enable_debug = xno ; then
CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wall"
else
CFLAGS="$CFLAGS -Wall -ggdb -O0"
LDFLAGS="$LDFLAGS -ggdb"
AC_MSG_WARN(Enable Debuging)
fi

Loading…
Cancel
Save