From: Roy Marples Date: Wed, 18 Mar 2015 18:31:07 +0000 (+0000) Subject: Fix ./configure --debug=yes X-Git-Tag: v6.8.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=250966db523c164881815eb2a8afaa57d58b492e;p=thirdparty%2Fdhcpcd.git Fix ./configure --debug=yes --- diff --git a/configure b/configure index 211f33f4..4ba9382c 100755 --- a/configure +++ b/configure @@ -320,10 +320,8 @@ done if [ -z "$DEBUG" -a -f .fslckout ]; then printf "Found fossil checkout ... " DEBUG=yes -else - DEBUG=no fi -if [ "$DEBUG" != no -a "$DEBUG" != false ]; then +if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then echo "Adding debugging CFLAGS" cat <>$CONFIG_MK CFLAGS+= -g -Wall -Wextra