summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-09-04 23:27:53 +0000
committerRoy Marples <roy@marples.name>2009-09-04 23:27:53 +0000
commitec8844c08d6b5c48cbcb008fc58712572d09f229 (patch)
treee24392f99a371c7bf67ae316be0d710feb616884 /configure
parentdfb514471a061f4805f50be3e440ce7e094a91bd (diff)
downloaddhcpcd-ec8844c08d6b5c48cbcb008fc58712572d09f229.tar.xz
Really fix no debug by default.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
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