]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix ./configure --debug=yes
authorRoy Marples <roy@marples.name>
Wed, 18 Mar 2015 18:31:07 +0000 (18:31 +0000)
committerRoy Marples <roy@marples.name>
Wed, 18 Mar 2015 18:31:07 +0000 (18:31 +0000)
configure

index 211f33f4c6f3deb7fe5d0c10fb943bae1ee06ec8..4ba9382c36d591ba185b7a5582f3cf3f839c2118 100755 (executable)
--- 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 <<EOF >>$CONFIG_MK
 CFLAGS+=       -g -Wall -Wextra