[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/6] Require Automake 1.11.1 for Libtool, enable color-tests.

From: Ralf Wildenhues
Subject: Re: [PATCH 1/6] Require Automake 1.11.1 for Libtool, enable color-tests.
Date: Sun, 22 Aug 2010 17:09:23 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* 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/ which it shouldn't do if '.' is not in
$reconfdirs I think.  Haven't tested exhaustively yet, though.


--- 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 clone git://
git clone git://

mkdir inst

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
./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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]