diff options
| author | Roy Marples <roy@marples.name> | 2009-09-04 23:27:53 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-09-04 23:27:53 +0000 |
| commit | ec8844c08d6b5c48cbcb008fc58712572d09f229 (patch) | |
| tree | e24392f99a371c7bf67ae316be0d710feb616884 /configure | |
| parent | dfb514471a061f4805f50be3e440ce7e094a91bd (diff) | |
| download | dhcpcd-ec8844c08d6b5c48cbcb008fc58712572d09f229.tar.xz | |
Really fix no debug by default.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
