Add debug flags if git checkout is present.
authorRoy Marples <roy@marples.name>
Mon, 26 Feb 2018 22:15:50 +0000 (22:15 +0000)
committerRoy Marples <roy@marples.name>
Mon, 26 Feb 2018 22:15:50 +0000 (22:15 +0000)
configure

index 97950e9344916d2e4ddc7ac037bbd2ba2716f12d..e36b54c84fa5f064e28879d5f13e9613a2c85d10 100755 (executable)
--- a/configure
+++ b/configure
@@ -233,8 +233,8 @@ for x in $INCLUDEDIR; do
        echo "CPPFLAGS+=        -I$x" >>$CONFIG_MK
 done
 
        echo "CPPFLAGS+=        -I$x" >>$CONFIG_MK
 done
 
-if [ -z "$DEBUG" -a -f .fslckout ]; then
-       printf "Found fossil checkout ... "
+if [ -z "$DEBUG" -a -d .git ]; then
+       printf "Found git checkout ... "
        DEBUG=yes
 else
        DEBUG=no
        DEBUG=yes
 else
        DEBUG=no