* autogen.sh: Use autoreconf's -f option.

Fixes: debbugs:17258
This commit is contained in:
Paul Eggert 2014-04-13 22:35:45 -07:00
parent 93ca48872e
commit 6956b278cd
2 changed files with 4 additions and 1 deletions

View file

@ -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'.

View file

@ -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'.