aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2017-03-14 19:39:38 -0400
committerGreg Hudson <ghudson@mit.edu>2017-07-17 16:46:21 -0400
commitb76821281250e0e06727f30bac05afe01ec794d2 (patch)
tree450cb8cede86ac6ecfb33ff3df2e45412650b700
parent08d2e1baba285382a2d953b0e18314143796ac0b (diff)
downloadkrb5-b76821281250e0e06727f30bac05afe01ec794d2.zip
krb5-b76821281250e0e06727f30bac05afe01ec794d2.tar.gz
krb5-b76821281250e0e06727f30bac05afe01ec794d2.tar.bz2
Force autoconf rebuild in maintainer rules
autoconf normally avoids recreating files that it does not consider obsolete. Since it knows nothing about patchlevel.h (which we read at autoconf time using m4's esyscmd()), changes to patchlevel.h won't be reflected in configure unless another input to configure has changed, and the maintainer rule will re-run autoconf over and over again. Fix this issue by passing the force flag to autoconf when we invoke it from the maintainer rule. (cherry picked from commit 7027788ae6adbd06d5a16de6ee62e489a4dca68b) ticket: 8560 version_fixed: 1.14.6
-rw-r--r--src/config/post.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/post.in b/src/config/post.in
index fb34fba..cae32e7 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -182,7 +182,7 @@ $(top_srcdir)/configure: @MAINT@ \
$(top_srcdir)/aclocal.m4
-$(RM) -r $(top_srcdir)/autom4te.cache
(cd $(top_srcdir) && \
- $(AUTOCONF) --include=$(CONFIG_RELTOPDIR) $(AUTOCONFFLAGS))
+ $(AUTOCONF) -f --include=$(CONFIG_RELTOPDIR) $(AUTOCONFFLAGS))
-$(RM) -r $(top_srcdir)/autom4te.cache
RECURSE_TARGETS=all-recurse clean-recurse distclean-recurse install-recurse \