mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-10 18:34:38 +03:00
build: detect a build from git also when building out of tree
Reported-by: Hans-Bernhard Bröker <HBBroeker@t-online.de> Bug existed since version 2.6.0, commit ec295f5e.
This commit is contained in:
parent
45defd25f3
commit
5ea930e25f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user