From: Roy Marples Date: Thu, 23 Feb 2017 01:03:08 +0000 (+0000) Subject: Detect .git directory and add debugging flags. X-Git-Tag: v7.0.0-beta1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bec31dc81d1a1e0793ae0212821921cc46b44094;p=thirdparty%2Fdhcpcd.git Detect .git directory and add debugging flags. --- diff --git a/configure b/configure index 42bd4eeb..59b79593 100755 --- a/configure +++ b/configure @@ -355,6 +355,10 @@ if [ -z "$DEBUG" -a -f .fslckout ]; then printf "Found fossil checkout ... " DEBUG=yes fi +if [ -z "$DEBUG" -a -d .git ]; then + printf "Found git checkout ... " + DEBUG=yes +fi if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then echo "Adding debugging CFLAGS" cat <>$CONFIG_MK