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