Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ogre/ReferenceApplication/bootstrap @ 33

Last change on this file since 33 was 5, checked in by anonymous, 17 years ago

=hoffentlich gehts jetzt

  • Property svn:executable set to *
File size: 983 bytes
Line 
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
10export WANT_AUTOMAKE='1.7'
11export WANT_AUTOCONF_2_5=1
12
13## Using prereq in autoconf rather than here, mostly for the debian systems at
14## this point
15if 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;
18fi
19
20if 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;
23fi
24
25if 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;
28fi
29
30# clean up files which cause confusion when switch versions of auto*
31rm -rf autom4te.cache
32
33# Fire up autotools
34libtoolize --force && aclocal $ACLOCAL_FLAGS && autoheader && automake --include-deps --add-missing --foreign && autoconf
Note: See TracBrowser for help on using the repository browser.