* autogen.sh: Use autoreconf's -f option.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Apr 2014 05:35:45 +0000 (22:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Apr 2014 05:35:45 +0000 (22:35 -0700)
Fixes: debbugs:17258

ChangeLog
autogen.sh

index e9836af..fd544fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-04-14  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * autogen.sh: Use autoreconf's -f option (Bug#17258).
+
        Clean up configure-time library handling a bit.
        This patch was inspired by emacs-24 bzr 116961, which fixed
        a bug due to sloppy library handling in 'configure'.
index 6b7c647..880f21f 100755 (executable)
@@ -202,7 +202,8 @@ echo "Your system has the required tools, running autoreconf..."
 
 
 ## Let autoreconf figure out what, if anything, needs doing.
-autoreconf -i -I m4 || exit $?
+## Use autoreconf's -f option in case autoreconf itself has changed.
+autoreconf -f -i -I m4 || exit $?
 
 ## Create a timestamp, so that './autogen.sh; make' doesn't
 ## cause 'make' to needlessly run 'autoheader'.