source: branches/stable/mondo/bootstrap @ 1205

Last change on this file since 1205 was 1051, checked in by Bruno Cornec, 13 years ago

Partial re-introduction of trunk changes for the next stable version (tools, contrib)
Preparation ofr addition of localisation patch to mondo
Should not compile in that state

  • Property svn:keywords set to Id
File size: 914 bytes
Line 
1#!/bin/bash
2#
3# $Id: bootstrap 1051 2007-01-11 00:06:52Z 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.