Revision 692,
1011 bytes
checked in by mattausch, 19 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Rev | Line | |
---|
[692] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | # Check for proper versions of autotools |
---|
| 4 | # We require: |
---|
| 5 | # - autoconf 2.50+ |
---|
| 6 | # - automake 1.6+ |
---|
| 7 | # - libtool 1.4+ |
---|
| 8 | |
---|
| 9 | # Deal with some gentoo-specific issues |
---|
| 10 | export WANT_AUTOMAKE='1.7' |
---|
| 11 | export WANT_AUTOCONF='2.5' |
---|
| 12 | |
---|
| 13 | ## Using prereq in autoconf rather than here, mostly for the debian systems at |
---|
| 14 | ## this point |
---|
| 15 | if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.5'`"; then |
---|
| 16 | echo "Autoconf 2.50 or above is required. Aborting build..."; |
---|
| 17 | exit 1; |
---|
| 18 | fi |
---|
| 19 | |
---|
| 20 | if test -z "`automake --version 2>&1|head -n 1|egrep '1.[6-9]'`"; then |
---|
| 21 | echo "Automake 1.6 or above is required. Aborting build..."; |
---|
| 22 | exit 1; |
---|
| 23 | fi |
---|
| 24 | |
---|
| 25 | if test -z "`libtool --version 2>&1|head -n 1|egrep '1.[4-5]'`"; then |
---|
| 26 | echo "Libtool 1.4 or above is required. Aborting build..."; |
---|
| 27 | exit 1; |
---|
| 28 | fi |
---|
| 29 | |
---|
| 30 | # clean up files which cause confusion when switch versions of auto* |
---|
| 31 | rm -rf autom4te.cache |
---|
| 32 | |
---|
| 33 | # Fire up autotools |
---|
| 34 | libtoolize --force --copy && aclocal -I Scripts/m4 $ACLOCAL_FLAGS && autoheader && automake --include-deps --add-missing --foreign --copy && autoconf |
---|
Note: See
TracBrowser
for help on using the repository browser.