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