Accept automake 1.10, too

svn path=/trunk/; revision=5831
This commit is contained in:
Matthias Clasen
2007-11-09 01:57:26 +00:00
parent 799abb1a77
commit 6181cd47e2
2 changed files with 10 additions and 3 deletions

View File

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