source: trunk/mondo/bootstrap

Last change on this file was 1079, checked in by bruno, 12 years ago

merge -r1045:1078 £SVN_M/branches/stable

  • Property svn:keywords set to Id
File size: 914 bytes
Line 
1#!/bin/bash
2#
3# $Id: bootstrap 1079 2007-01-28 16:58:18Z bruno $
4#
5# Built from scratch
6#
7amv=`automake --version | head -1 | awk '{print $(NF)}'`
8amvmj=`echo $amv | cut -d. -f1`
9amvmn=`echo $amv | cut -d. -f2`
10acv=`autoconf --version | head -1 | awk '{print $(NF)}'`
11acvmj=`echo $acv | cut -d. -f1`
12acvmn=`echo $acv | cut -d. -f2`
13if [ "$acvmj" -lt 2 ]; then
14    echo "Please get a version of autoconf >= 2.59"
15    exit -1
16fi
17if [ "$acvmn" -lt 59 ]; then
18    echo "Please get a version of autoconf >= 2.59"
19    exit -1
20fi
21if [ "$amvmj" -lt 1 ]; then
22    echo "Please get a version of automake >= 1.7"
23    exit -1
24fi
25if [ "$acvmn" -lt 7 ]; then
26    echo "Please get a version of automake >= 1.7"
27    exit -1
28fi
29
30make maintainer-clean >/dev/null 2>&1
31libtoolize -f -c --automake
32cp /usr/bin/gettextize .
33perl -pi -e 's~read dummy < /dev/tty~~' gettextize
34./gettextize -c -f --no-changelog < /dev/null
35rm -f gettextize
36aclocal -I m4
37autoheader
38automake
39autoconf
40rm -rf autom4te.cache
Note: See TracBrowser for help on using the repository browser.