From: short <> Date: Mon, 25 Feb 2002 13:57:46 +0000 (+0000) Subject: --enable-debug CFLAGS now just add -ggdb3 and remove -O[0-9]* X-Git-Tag: uc_works1~38 X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=commitdiff_plain;h=1308f71aec90573524f8bf86077552e519784400 --enable-debug CFLAGS now just add -ggdb3 and remove -O[0-9]* --- diff --git a/configure.in b/configure.in index 21b3fa6..7ad1b9c 100644 --- a/configure.in +++ b/configure.in @@ -49,7 +49,10 @@ AC_DEFINE_UNQUOTED(CONFIG_CFG_INITLENGTH, "$with_cfg_initlength") AC_ARG_ENABLE(debug, [ --enable-debug compile with debug code], - [ #CFLAGS="-g -Wall" + [ +changequote({,})dnl + CFLAGS="-ggdb3 `echo " $CFLAGS "|sed 's/ -O[0-9]* / /g'`" #CFLAGS="-g -Wall" +changequote([,])dnl AC_DEFINE(DEBUG) debug="yes" ], [ debug="no" ]