Allow autogen even when Git is not installed
* autogen.sh: Test ‘git status’ before trying to use Git.
This commit is contained in:
parent
a5c20339c5
commit
4cace70436
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ echo timestamp > src/stamp-h.in || exit
|
|||
|
||||
|
||||
## Configure Git, if using Git.
|
||||
if test -d .git; then
|
||||
if test -d .git && (git status -s) >/dev/null 2>&1; then
|
||||
|
||||
# Configure 'git diff' hunk header format.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue