summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-03-18 18:31:07 +0000
committerRoy Marples <roy@marples.name>2015-03-18 18:31:07 +0000
commit250966db523c164881815eb2a8afaa57d58b492e (patch)
tree3a50a46a7c0bff4b0211ef3f6a76ca58dd2a9fc9 /configure
parent1b219a664ec5cb9da712f58321aad506d0843c5e (diff)
downloaddhcpcd-250966db523c164881815eb2a8afaa57d58b492e.tar.xz
Fix ./configure --debug=yes
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
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 <<EOF >>$CONFIG_MK
CFLAGS+= -g -Wall -Wextra