summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 76fde9e18d2..70f9cbd245c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -127,7 +127,8 @@ done
case $do_autoconf,$do_git in
false,false)
- do_autoconf=true;;
+ do_autoconf=true
+ test -e .git && do_git=true;;
esac
# Generate Autoconf-related files, if requested.