From 1a9caf51aeff3ae6f4c565f5ddf877b4c9806b09 Mon Sep 17 00:00:00 2001 From: Kathiravelu Pradeeban Date: Sat, 11 Jun 2011 15:05:29 +0000 Subject: Fix to make building the enchant tag 2.2.2 work with automake-1.10+ [Backporting the fix from the trunk]. git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/tags/release-2-2-2@29812 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 5582b4f..e4ee704 100755 --- a/autogen.sh +++ b/autogen.sh @@ -10,7 +10,7 @@ rm -f autogen.err -automake --version | perl -ne 'if (/\(GNU automake\) ([0-9].[0-9])/) {print; if ($1 < 1.4) {exit 1;}}' +automake --version | perl -ne 'if (/\(GNU automake\) (([0-9]+).([0-9]+))/) {print; if ($2 < 1 || ($2 == 1 && $3 < 4)) {exit 1;}}' if [ $? -ne 0 ]; then echo "Error: you need automake 1.4 or later. Please upgrade." -- cgit v1.2.1