summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-04-17 18:58:23 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-04-19 16:45:38 +0200
commitbb089f76227666e11e6949038c4fd9e130e047a3 (patch)
tree34af56352d6c8dc3588baea4326f401b00d18922 /configure.ac
parente9e60b3a1dd2f88da4e1634e1c0f73077054aca6 (diff)
maint: Resurrect running `make' from a tarball.
This is a follow-up to commit 8b972da068708a8b17f3ab153ea940690ca49ca9 Makefile.am: Auto-configure Git on 'make'. * configure.ac (in_git_p): New conditional. * Makefile.am (nodist_noinst_DATA): Use it to only enable this when building from Git. Change-Id: I09a90a59a4933a8cdb04124467d38209171f2a57
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ecbd596a34f..8c3a06da376 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,6 +265,16 @@ dnl Documentation translation.
265AM_MISSING_PROG([PO4A_TRANSLATE], [po4a-translate]) 265AM_MISSING_PROG([PO4A_TRANSLATE], [po4a-translate])
266AM_MISSING_PROG([PO4A_UPDATEPO], [po4a-updatepo]) 266AM_MISSING_PROG([PO4A_UPDATEPO], [po4a-updatepo])
267 267
268AC_MSG_CHECKING([if building from git])
269if test -e .git; then
270 in_git_p=yes
271else
272 in_git_p=no
273fi
274AC_MSG_RESULT([$in_git_p])
275AM_CONDITIONAL([in_git_p],
276 [test "x$in_git_p" = "xyes"])
277
268case "$storedir" in 278case "$storedir" in
269 /gnu/store) 279 /gnu/store)
270 ;; 280 ;;