Mercurial > hg > dhcpcd
changeset 1412:039d829277e3 draft
Really fix no debug by default.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 04 Sep 2009 23:27:53 +0000 |
| parents | 2ff7c43d420f |
| children | de4ea465c1be |
| files | configure |
| diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Sep 04 23:15:18 2009 +0000 +++ b/configure Fri Sep 04 23:27:53 2009 +0000 @@ -123,12 +123,12 @@ echo "CPPLAGS= $CPPLAGS" >>$CONFIG_MK fi -if [ -z "$DEBUG" -a -d .git ]; 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 -elif [ "$DEBUG" != no -a "$DEBUG" != false ]; then - echo "Enabling memory debugging" - echo "CPPFLAGS+= -DDEBUG_MEMORY" >>$CONFIG_MK else DEBUG=no fi
