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