diff options
| author | Roy Marples <roy@marples.name> | 2017-02-23 01:03:08 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-02-23 01:03:08 +0000 |
| commit | c7840a56da475720248fbdc5b6ecee7c3b9df10b (patch) | |
| tree | 506febc018a31997a80675f3c9ae633851092e6a /configure | |
| parent | 180834ebb47576f664565a8270a91e5850a31aea (diff) | |
| download | dhcpcd-c7840a56da475720248fbdc5b6ecee7c3b9df10b.tar.xz | |
Detect .git directory and add debugging flags.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 <<EOF >>$CONFIG_MK |
