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
RevLine 
[2554]1#!/bin/sh
[2552]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
[2554]7acver=2.69
8amver=1.12
9ltver=2.4.2
10
11# exit immediately if something fails
12set -e
13
[2552]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
[2554]18rm -rf autoconf-$acver* automake-$amver* libtool-$ltver*
[2552]19
[2554]20wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-$acver.tar.gz
21tar xvzf autoconf-$acver.tar.gz
22cd autoconf-$acver
[2552]23./configure --prefix=$PREFIX
24make install
25cd ..
26
[2554]27wget ftp://ftp.gnu.org/gnu/automake/automake-$amver.tar.gz
28tar xvzf automake-$amver.tar.gz
29cd automake-$amver
[2552]30./configure --prefix=$PREFIX
31make install
32cd ..
33
[2554]34wget ftp://ftp.gnu.org/gnu/libtool/libtool-$ltver.tar.gz
35tar xvzf libtool-$ltver.tar.gz
36cd libtool-$ltver
[2552]37./configure --prefix=$PREFIX
38make install
39cd ..
40
[2554]41rm -rf autoconf-$acver* automake-$amver* libtool-$ltver*
Note: See TracBrowser for help on using the repository browser.