Automatic installer for automake-1.11

This is the last version of automake without a warning for Cygnus-style
trees, and is the recommended version for building newlib. An older
autoconf is not necessary to make things work. Just run this, it should
install correctly to your local build directory.
This commit is contained in:
Kevin Lange 2013-11-27 21:17:55 -08:00
parent 5a422a58c7
commit 6d1ea12ad7

33
toolchain/legacy-automake.sh Executable file
View File

@ -0,0 +1,33 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. $DIR/config.sh
. $DIR/util.sh
. $DIR/activate.sh
# Just in case
pushd $DIR
pushd tarballs || bail
grab "automake" "http://ftp.gnu.org/gnu/automake" "automake-1.11.6.tar.gz" || bail
deco "automake" "automake-1.11.6.tar.gz" || bail
popd
pushd build || bail
if [ ! -d automake ]; then
mkdir automake
fi
pushd automake || bail
$DIR/tarballs/automake-1.11.6/configure --prefix=$PREFIX
make
make install
pushd $PREFIX/share || bail
ln -s automake-1.11 automake
ln -s aclocal-1.11 aclocal
popd
popd
popd