Support automake 1.11

This commit is contained in:
Matthias Clasen 2009-06-10 16:20:38 -04:00
parent 1feacdd38b
commit 0981552099

View File

@ -45,7 +45,10 @@ fi
DIE=1 DIE=1
} }
if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-1.11
ACLOCAL=aclocal-1.11
else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-1.10 AUTOMAKE=automake-1.10
ACLOCAL=aclocal-1.10 ACLOCAL=aclocal-1.10
else if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then else if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then
@ -53,12 +56,13 @@ else if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then
ACLOCAL=aclocal-1.9 ACLOCAL=aclocal-1.9
else else
echo echo
echo "You must have automake 1.9.x or 1.10.x installed to compile $PROJECT." echo "You must have automake 1.9.x, 1.10.x or 1.11.x installed to compile $PROJECT."
echo "Install the appropriate package for your distribution," echo "Install the appropriate package for your distribution,"
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/" echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
DIE=1 DIE=1
fi fi
fi fi
fi
if test "$DIE" -eq 1; then if test "$DIE" -eq 1; then
exit 1 exit 1