]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Force autoconf rebuild in maintainer rules 615/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 14 Mar 2017 23:39:38 +0000 (19:39 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 15 Mar 2017 16:21:42 +0000 (12:21 -0400)
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.

ticket: 8560 (new)
target_version: 1.15-next
target_verison: 1.14-next
tags: pullup

src/config/post.in

index aecac9d3bd670b22bcaee6531b7d8909793782ae..3643abad1ce001993bdb8f0d122d33a5f4b7fb61 100644 (file)
@@ -185,7 +185,7 @@ $(top_srcdir)/configure: @MAINT@ \
                $(top_srcdir)/patchlevel.h \
                $(top_srcdir)/aclocal.m4
        (cd $(top_srcdir) && \
-               $(AUTOCONF) --include=$(CONFIG_RELTOPDIR) $(AUTOCONFFLAGS))
+               $(AUTOCONF) -f --include=$(CONFIG_RELTOPDIR) $(AUTOCONFFLAGS))
 
 RECURSE_TARGETS=all-recurse clean-recurse distclean-recurse install-recurse \
        generate-files-mac-recurse \