source: trunk/autoversion.sh @ 1822

Revision 1472, 790 bytes checked in by Freddie Akeroyd, 2 years ago (diff)

Use ustar rather than tar - allows longer filenames. Refs #230

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#!/bin/sh
2
3for automake in automake-1.12 automake-1.11 automake-1.10 automake-1.9 automake-1.8 automake-1.7 automake-1.6 automake-1.5 automake-1.4 automake ; do
4        AUTOMAKE=`which $automake 2>/dev/null |  grep -v '^no'`
5        if test "$AUTOMAKE" ; then
6                break;
7        fi
8done
9AUTOMAKE="$automake -a -c"
10case $automake in
11        automake-*)
12                version=`echo $automake | cut -f2 -d'-'`
13                ACLOCAL="aclocal-$version";;
14        *)
15                ACLOCAL="aclocal";
16esac
17       
18for autoconf in autoconf-2.61 autoconf ; do
19        AUTOCONF=`which $autoconf 2>/dev/null | grep -v '^no'`
20        if test "$AUTOCONF" ; then
21                break;
22        fi
23done
24AUTOCONF="$autoconf"
25case $autoconf in
26        autoconf-*)
27                version=`echo $autoconf | cut -f2 -d'-'`
28                AUTOHEADER="autoheader-$version";;
29        *)
30                AUTOHEADER="autoheader";;
31esac
32
33export AUTOMAKE ACLOCAL AUTOCONF AUTOHEADER
34
Note: See TracBrowser for help on using the repository browser.