|
Revision 83, 0.8 KB
(checked in by smoku, 2 years ago)
|
|
updated bootstrap for new autotools
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | # Check for proper versions of autotools |
|---|
| 4 | # We require: |
|---|
| 5 | # - autoconf 2.50+ |
|---|
| 6 | # - automake 1.4+ |
|---|
| 7 | # - libtool 1.4+ |
|---|
| 8 | # |
|---|
| 9 | ## Using prereq in autoconf rather than here, mostly for the debian systems at |
|---|
| 10 | ## this point |
|---|
| 11 | if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.[56]'`"; then |
|---|
| 12 | echo "Autoconf 2.50+ is required. Aborting build..."; |
|---|
| 13 | exit 1; |
|---|
| 14 | fi |
|---|
| 15 | |
|---|
| 16 | if test -z "`automake --version 2>&1|head -n 1|egrep '1.([4-9]|10)'`"; then |
|---|
| 17 | echo "Automake 1.4+ is required. Aborting build..."; |
|---|
| 18 | exit 1; |
|---|
| 19 | fi |
|---|
| 20 | |
|---|
| 21 | if test -z "`libtool --version 2>&1|head -n 1|egrep '1.[45]'`"; then |
|---|
| 22 | echo "Libtool 1.4+ is required. Aborting build..."; |
|---|
| 23 | exit 1; |
|---|
| 24 | fi |
|---|
| 25 | |
|---|
| 26 | # Fire up autotools |
|---|
| 27 | libtoolize --force && aclocal $ACLOCAL_FLAGS && autoheader && automake --include-deps --add-missing && autoconf |
|---|