summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-07-19 09:50:02 +0200
committerJunio C Hamano <gitster@pobox.com>2012-07-19 10:30:26 -0700
commit8242ff470f2a34b5c0f193c4010cbf3d9b57f9bd (patch)
treeee5a3c7d54d8768388522d421c234b27bf4e6d7a /configure.ac
parentdc7ace5f776f30fe4e10d8a3fa8146ad21893544 (diff)
downloadgit-8242ff470f2a34b5c0f193c4010cbf3d9b57f9bd.tar.gz
build: reconfigure automatically if configure.ac changes
This provides a reduced but still useful sibling of the Automake's "automatic Makefile rebuild" feature. It's important to note that we take care to enable the new rules only if the tree that has already be configured with './configure', so that users relying on manual configuration won't be negatively impacted. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a63fe77b82..df7e376590 100644
--- a/configure.ac
+++ b/configure.ac
@@ -148,6 +148,8 @@ AC_CONFIG_SRCDIR([git.c])
config_file=config.mak.autogen
config_in=config.mak.in
+GIT_CONF_SUBST([AUTOCONFIGURED], [YesPlease])
+
# Directories holding "saner" versions of common or POSIX binaries.
AC_ARG_WITH([sane-tool-path],
[AS_HELP_STRING(