Last change
on this file since 25 was
17,
checked in by Sam Hocevar, 20 years ago
|
- autotoolificationized the whole thing.
|
-
Property svn:executable set to
*
|
File size:
920 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | set -x |
---|
3 | |
---|
4 | rm -f aclocal.m4 configure config.guess config.log config.sub ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh |
---|
5 | |
---|
6 | # Check for automake |
---|
7 | amvers="none" |
---|
8 | if automake-1.7 --version >/dev/null 2>&1 |
---|
9 | then |
---|
10 | amvers="-1.7" |
---|
11 | else |
---|
12 | if automake-1.6 --version >/dev/null 2>&1 |
---|
13 | then |
---|
14 | amvers="-1.6" |
---|
15 | else |
---|
16 | if automake-1.5 --version >/dev/null 2>&1 |
---|
17 | then |
---|
18 | amvers="-1.5" |
---|
19 | else |
---|
20 | if automake --version > /dev/null 2>&1 |
---|
21 | then |
---|
22 | amvers=`automake --version | sed -e '1s/[^0-9]*//' -e q` |
---|
23 | |
---|
24 | if expr "$amvers" "<" "1.5" > /dev/null 2>&1 |
---|
25 | then amvers="none" |
---|
26 | else amvers="" |
---|
27 | fi |
---|
28 | fi |
---|
29 | fi |
---|
30 | fi |
---|
31 | fi |
---|
32 | |
---|
33 | if test x$amvers = xnone |
---|
34 | then |
---|
35 | set +x |
---|
36 | echo "you need automake version 1.5 or later" |
---|
37 | exit 1 |
---|
38 | fi |
---|
39 | |
---|
40 | aclocal${amvers} || exit 1 |
---|
41 | autoheader || exit 1 |
---|
42 | automake${amvers} --add-missing --copy || exit 1 |
---|
43 | autoconf || exit 1 |
---|
44 | rm -f config.cache |
---|
Note: See
TracBrowser
for help on using the repository browser.