Abort autogen.sh when automake 1.12+ is found.

Refs #3538.
master
cybersphinx 2012-12-06 14:13:04 +01:00
parent 091e7bb028
commit 978ed8f1f9
1 changed files with 5 additions and 0 deletions

View File

@ -148,6 +148,11 @@ not_version ()
# Chdir to the srcdir, then run auto* tools.
cd "$SRCDIR"
version_check 0 "automake" "ftp://ftp.gnu.org/pub/gnu/automake/" 1 12 && {
echo "Sorry, automake 1.12+ is not supported yet, please use 1.11."
exit 1
}
version_check 1 "autoconf" "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 56 || DIE=1
version_check 1 "automake" "ftp://ftp.gnu.org/pub/gnu/automake/" 1 11 || DIE=1
if [ "$DIE" -eq 1 ]; then