From 5ea930e25fc5d12a9590e3544baa1dc8cf48eaba Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 2 Feb 2021 11:51:22 +0100 Subject: [PATCH] build: detect a build from git also when building out of tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: Hans-Bernhard Bröker Bug existed since version 2.6.0, commit ec295f5e. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4d2a5c19..e0f78255 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,7 @@ AC_DEFINE_DIR([PKGDATADIR], [pkgdatadir], [Where data are placed to.]) dnl Whether this is a git repository. AC_MSG_CHECKING([whether building from git]) -if test -f roll-a-release.sh ; then +if test -f "$srcdir/roll-a-release.sh" ; then AC_MSG_RESULT([yes]) from_git=yes else