# HG changeset patch # User Akim Demaille # Date 1356691735 -3600 # Node ID 67103803e184df1c7b2b3dd23f21f1bac2bd54f9 # Parent 77788c0ee4f99f7086736f497944d177ddf17b3b bootstrap: pass --force to autoreconf. * build-aux/bootstrap (no_recursive): Remove, replaced by... (AUTORECONFFLAGS): this new variable. Add "--force" so that Automake's ylwrap and other such tools be updated at each bootstrap invocation. Use it. diff -r 77788c0ee4f9 -r 67103803e184 ChangeLog --- a/ChangeLog Thu Dec 27 18:56:26 2012 -0800 +++ b/ChangeLog Fri Dec 28 11:48:55 2012 +0100 @@ -1,3 +1,11 @@ +2012-12-28 Akim Demaille + + bootstrap: pass --force to autoreconf. + * build-aux/bootstrap (AUTORECONFFLAGS): New. + Add "--force" so that Automake's ylwrap and other such tools + be updated at each bootstrap invocation. + Use it. + 2012-12-27 Paul Eggert argp: fix port of port new 'inline' approach to Sun C 5.12 + Solaris 10 diff -r 77788c0ee4f9 -r 67103803e184 build-aux/bootstrap --- a/build-aux/bootstrap Thu Dec 27 18:56:26 2012 -0800 +++ b/build-aux/bootstrap Fri Dec 28 11:48:55 2012 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2012-07-19.14; # UTC +scriptversion=2012-12-28.10; # UTC # Bootstrap this package from checked-out sources. @@ -889,20 +889,21 @@ -depth \( -name '*.m4' -o -name '*.[ch]' \) \ -type l -xtype l -delete > /dev/null 2>&1 +# Invoke autoreconf with --force --install to ensure upgrades of tools +# such as ylwrap. +AUTORECONFFLAGS="--verbose --install --force -I $m4_base $ACLOCAL_FLAGS" + # Some systems (RHEL 5) are using ancient autotools, for which the # --no-recursive option had not been invented. Detect that lack and # omit the option when it's not supported. FIXME in 2017: remove this # hack when RHEL 5 autotools are updated, or when they become irrelevant. -no_recursive= case $($AUTORECONF --help) in - *--no-recursive*) no_recursive=--no-recursive;; + *--no-recursive*) AUTORECONFFLAGS="$AUTORECONFFLAGS --no-recursive";; esac # Tell autoreconf not to invoke autopoint or libtoolize; they were run above. -echo "running: AUTOPOINT=true LIBTOOLIZE=true " \ - "$AUTORECONF --verbose --install $no_recursive -I $m4_base $ACLOCAL_FLAGS" -AUTOPOINT=true LIBTOOLIZE=true \ - $AUTORECONF --verbose --install $no_recursive -I $m4_base $ACLOCAL_FLAGS \ +echo "running: AUTOPOINT=true LIBTOOLIZE=true $AUTORECONF $AUTORECONFFLAGS" +AUTOPOINT=true LIBTOOLIZE=true $AUTORECONF $AUTORECONFFLAGS \ || die "autoreconf failed" # Get some extra files from gnulib, overriding existing files.