Fixed hangup on initial run on uClinux (TCSADRAIN -> TCSANOW)
[gnokii.git] / configure.in
index 21b3fa6..7ad1b9c 100644 (file)
@@ -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"  ]