Last change
on this file since 71 was
71,
checked in by Sam Hocevar, 20 years ago
|
- Fixed keywords, ignore, and lots of tiny SVN things.
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[17] | 1 | #! /bin/sh |
---|
[71] | 2 | |
---|
| 3 | ## bootstrap file for ttyvaders -- Sam Hocevar <sam@zoy.org> |
---|
| 4 | ## $Id: bootstrap 71 2003-10-02 01:08:13Z sam $ |
---|
| 5 | |
---|
[17] | 6 | set -x |
---|
[71] | 7 | set -e |
---|
[17] | 8 | |
---|
[71] | 9 | # Get a sane environment, just in case |
---|
| 10 | LANG=C |
---|
| 11 | export LANG |
---|
| 12 | CYGWIN=binmode |
---|
| 13 | export CYGWIN |
---|
[17] | 14 | |
---|
| 15 | # Check for automake |
---|
[71] | 16 | amvers="no" |
---|
| 17 | if automake-1.7 --version >/dev/null 2>&1; then |
---|
[17] | 18 | amvers="-1.7" |
---|
[71] | 19 | elif automake-1.6 --version >/dev/null 2>&1; then |
---|
| 20 | amvers="-1.6" |
---|
| 21 | elif automake-1.5 --version >/dev/null 2>&1; then |
---|
| 22 | amvers="-1.5" |
---|
| 23 | elif automake --version > /dev/null 2>&1; then |
---|
| 24 | amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`" |
---|
| 25 | if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then |
---|
| 26 | amvers="no" |
---|
[17] | 27 | else |
---|
[71] | 28 | amvers="" |
---|
[17] | 29 | fi |
---|
| 30 | fi |
---|
| 31 | |
---|
[71] | 32 | if test "$amvers" = "no"; then |
---|
[17] | 33 | set +x |
---|
[71] | 34 | echo "$0: you need automake version 1.5 or later" |
---|
[17] | 35 | exit 1 |
---|
| 36 | fi |
---|
| 37 | |
---|
[71] | 38 | # Remove old cruft |
---|
| 39 | rm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh INSTALL |
---|
| 40 | (cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh) |
---|
| 41 | |
---|
| 42 | aclocal${amvers} |
---|
| 43 | autoconf |
---|
| 44 | autoheader |
---|
| 45 | automake${amvers} --add-missing --copy |
---|
| 46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.