Ignore:
Timestamp:
May 16, 2012 2:14:16 PM (8 years ago)
Author:
stefan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autotools-update/install_autotools.sh

    r2552 r2554  
     1#!/bin/sh
    12# script to download and install the autoools versions that we currently use with COIN-OR/BuildTools
    23# original script by Pierre Bonami
     
    45PREFIX=$HOME/local2
    56
     7acver=2.69
     8amver=1.12
     9ltver=2.4.2
     10
     11# exit immediately if something fails
     12set -e
     13
    614# so that we can configure automake with the new (then installed) autoconf
    715export PATH=$PREFIX/bin:$PATH
    816
    917# cleanup from previous (maybe failed) build
    10 rm -rf autoconf-2.68* automake-1.11.3* libtool-2.4.2*
     18rm -rf autoconf-$acver* automake-$amver* libtool-$ltver*
    1119
    12 wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
    13 tar xvzf autoconf-2.68.tar.gz
    14 cd autoconf-2.68
     20wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-$acver.tar.gz
     21tar xvzf autoconf-$acver.tar.gz
     22cd autoconf-$acver
    1523./configure --prefix=$PREFIX
    1624make install
    1725cd ..
    1826
    19 wget ftp://ftp.gnu.org/gnu/automake/automake-1.11.3.tar.gz
    20 tar xvzf automake-1.11.3.tar.gz
    21 cd automake-1.11.3
     27wget ftp://ftp.gnu.org/gnu/automake/automake-$amver.tar.gz
     28tar xvzf automake-$amver.tar.gz
     29cd automake-$amver
    2230./configure --prefix=$PREFIX
    2331make install
    2432cd ..
    2533
    26 wget ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz
    27 tar xvzf libtool-2.4.2.tar.gz
    28 cd libtool-2.4.2
     34wget ftp://ftp.gnu.org/gnu/libtool/libtool-$ltver.tar.gz
     35tar xvzf libtool-$ltver.tar.gz
     36cd libtool-$ltver
    2937./configure --prefix=$PREFIX
    3038make install
    3139cd ..
    3240
    33 rm -rf autoconf-2.68* automake-1.11.3* libtool-2.4.2*
     41rm -rf autoconf-$acver* automake-$amver* libtool-$ltver*
Note: See TracChangeset for help on using the changeset viewer.