* Gary V. Vaughan wrote on Sun, Aug 22, 2010 at 04:17:49PM CEST: > I'm still a little worried that the Automake 1.11.1 requirement > might leak out of 'required to bootstrap' and into 'required to > use' however, which is why I'd like to test it some more to > convince myself that I'm just being paranoid :) > > I wonder whether it is possible to write a test that looks for > the oldest Automake and Autoconf we declare our support for, > and rerun the relevant tests with them? That would have > caught several of the errors I made with the m4sh patches I > submitted over the last couple of months...
Ah, maybe a good idea. Assuming you have new enough tools in $PATH, a script like the following should almost do it. One missing part I can see is that the second invocation of ./boostrap in the libtool source tree messes up libltdl/config/ltmain.sh which it shouldn't do if '.' is not in $reconfdirs I think. Haven't tested exhaustively yet, though. Cheers, Ralf --- snip --- #! /bin/sh # Try out Libtool with oldest supported tools. # Use this in a fresh directory. set -e # consider using shallow clones here, to ease server load. git clone git://git.sv.gnu.org/autoconf.git git clone git://git.sv.gnu.org/automake.git git clone git://git.sv.gnu.org/libtool.git mkdir inst inst=`pwd`/inst PATH=$inst/bin:$PATH cd libtool reconfdirs=. ./bootstrap cd ../autoconf git checkout AUTOCONF-2.59 # autoreconf -vi needed here? ./configure --prefix="$inst" make all install cd ../automake git checkout Release-1-9-6 ./bootstrap ./configure --prefix="$inst" make all install cd ../libtool reconfdirs="libltdl "`ls -d tests/*demo*/` ./bootstrap mkdir build cd build ../configure --prefix="$inst" make all make -k check # Now, mail all output and logs to the autobuild site ... # ... and consider cleaning up afterwards.