From: Roy Marples Date: Fri, 4 Sep 2009 23:27:53 +0000 (+0000) Subject: Really fix no debug by default. X-Git-Tag: v5.1.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec8844c08d6b5c48cbcb008fc58712572d09f229;p=thirdparty%2Fdhcpcd.git Really fix no debug by default. --- diff --git a/configure b/configure index 6cf863f8..daf83102 100755 --- a/configure +++ b/configure @@ -123,12 +123,12 @@ if [ -n "$CPPLAGS" ]; then echo "CPPLAGS= $CPPLAGS" >>$CONFIG_MK fi -if [ -z "$DEBUG" -a -d .git ]; then - printf "Found git ... " - DEBUG=yes -elif [ "$DEBUG" != no -a "$DEBUG" != false ]; then +if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then echo "Enabling memory debugging" echo "CPPFLAGS+= -DDEBUG_MEMORY" >>$CONFIG_MK +elif [ -z "$DEBUG" -a -d .git ]; then + printf "Found git ... " + DEBUG=yes else DEBUG=no fi