source: branches/3.0/mondo/bootstrap @ 3080

Last change on this file since 3080 was 3032, checked in by bruno, 7 years ago

r4955@localhost: bruno | 2012-09-02 19:11:14 +0200

  • bootstrap now calls autoscan and warnings for autoconf
  • Property svn:keywords set to Id
File size: 797 bytes
Line 
1#!/bin/bash
2#
3# Built from scratch
4#
5amv=`automake --version | head -1 | awk '{print $(NF)}'`
6amvmj=`echo $amv | cut -d. -f1`
7amvmn=`echo $amv | cut -d. -f2`
8acv=`autoconf --version | head -1 | awk '{print $(NF)}'`
9acvmj=`echo $acv | cut -d. -f1`
10acvmn=`echo $acv | cut -d. -f2`
11if [ "$acvmj" -lt 2 ]; then
12    echo "Please get a version of autoconf >= 2.59"
13    exit -1
14fi
15if [ "$acvmn" -lt 59 ]; then
16    echo "Please get a version of autoconf >= 2.59"
17    exit -1
18fi
19if [ "$amvmj" -lt 1 ]; then
20    echo "Please get a version of automake >= 1.7"
21    exit -1
22fi
23if [ "$acvmn" -lt 7 ]; then
24    echo "Please get a version of automake >= 1.7"
25    exit -1
26fi
27
28autoscan
29make maintainer-clean >/dev/null 2>&1
30libtoolize -f -c --automake
31aclocal
32autoheader
33automake --add-missing --copy
34autoconf -W all
35rm -rf autom4te.cache
Note: See TracBrowser for help on using the repository browser.