Last change
on this file since 405 was
189,
checked in by Sam Hocevar, 20 years ago
|
- The big TTYvaders/libcaca split. This is libcaca.
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | |
---|
3 | ## bootstrap file for libcaca -- Sam Hocevar <sam@zoy.org> |
---|
4 | ## $Id: bootstrap 189 2003-11-16 12:07:52Z sam $ |
---|
5 | |
---|
6 | set -x |
---|
7 | set -e |
---|
8 | |
---|
9 | # Get a sane environment, just in case |
---|
10 | LANG=C |
---|
11 | export LANG |
---|
12 | CYGWIN=binmode |
---|
13 | export CYGWIN |
---|
14 | |
---|
15 | # Check for automake |
---|
16 | amvers="no" |
---|
17 | if automake-1.7 --version >/dev/null 2>&1; then |
---|
18 | amvers="-1.7" |
---|
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" |
---|
27 | else |
---|
28 | amvers="" |
---|
29 | fi |
---|
30 | fi |
---|
31 | |
---|
32 | if test "$amvers" = "no"; then |
---|
33 | set +x |
---|
34 | echo "$0: you need automake version 1.5 or later" |
---|
35 | exit 1 |
---|
36 | fi |
---|
37 | |
---|
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 | rm -Rf autom4te.cache |
---|
41 | (cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh) |
---|
42 | |
---|
43 | aclocal${amvers} |
---|
44 | autoconf |
---|
45 | autoheader |
---|
46 | automake${amvers} --add-missing --copy |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.