summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ab54167..89d5eb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -333,7 +333,7 @@ AM_COND_IF([ENABLE_LARGE_TILES], [
])
## Make a guess about the source code version
-AS_IF([test -d "${srcdir}/.git"], [
+AS_IF([test -e "${srcdir}/.git"], [
AC_PATH_PROG([git_bin], [git])
AS_IF([test -n "$git_bin"], [
srcversion_string="commit: $("$git_bin" -C "$srcdir" describe --tags --long --always --dirty --broken --abbrev=40)"