Allow building with automake 1.12

This commit is contained in:
Matthias Clasen 2012-08-01 08:47:31 +02:00
parent c2274c8912
commit 1d07ef714d

View File

@ -48,7 +48,10 @@ fi
DIE=1
}
if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
if automake-1.12 --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-1.12
ACLOCAL=aclocal-1.12
else 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
@ -66,6 +69,7 @@ else
fi
fi
fi
fi
if test "$DIE" -eq 1; then
exit 1