source: branches/autotools-update/install_autotools.sh @ 3850

Last change on this file since 3850 was 2554, checked in by stefan, 8 years ago

update autotools version numbers to current latest versions
update corresponding autotools files

  • Property svn:executable set to *
File size: 988 bytes
Line 
1#!/bin/sh
2# script to download and install the autoools versions that we currently use with COIN-OR/BuildTools
3# original script by Pierre Bonami
4
5PREFIX=$HOME/local2
6
7acver=2.69
8amver=1.12
9ltver=2.4.2
10
11# exit immediately if something fails
12set -e
13
14# so that we can configure automake with the new (then installed) autoconf
15export PATH=$PREFIX/bin:$PATH
16
17# cleanup from previous (maybe failed) build
18rm -rf autoconf-$acver* automake-$amver* libtool-$ltver*
19
20wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-$acver.tar.gz
21tar xvzf autoconf-$acver.tar.gz
22cd autoconf-$acver
23./configure --prefix=$PREFIX
24make install
25cd ..
26
27wget ftp://ftp.gnu.org/gnu/automake/automake-$amver.tar.gz
28tar xvzf automake-$amver.tar.gz
29cd automake-$amver
30./configure --prefix=$PREFIX
31make install
32cd ..
33
34wget ftp://ftp.gnu.org/gnu/libtool/libtool-$ltver.tar.gz
35tar xvzf libtool-$ltver.tar.gz
36cd libtool-$ltver
37./configure --prefix=$PREFIX
38make install
39cd ..
40
41rm -rf autoconf-$acver* automake-$amver* libtool-$ltver*
Note: See TracBrowser for help on using the repository browser.