summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKathiravelu Pradeeban <kk.pradeeban@gmail.com>2011-06-11 15:05:29 +0000
committerKathiravelu Pradeeban <kk.pradeeban@gmail.com>2011-06-11 15:05:29 +0000
commit1a9caf51aeff3ae6f4c565f5ddf877b4c9806b09 (patch)
treecfa990df515c5dac39a20ae3dda73e8b16507570
parentb97637245e2caf0cf45281ce116e64ea77e4cd89 (diff)
downloadenchant-tags/release-2-2-2.tar.gz
Fix to make building the enchant tag 2.2.2 work with automake-1.10+ [Backporting the fix from the trunk].release-2-2-2tags/release-2-2-2
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/tags/release-2-2-2@29812 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
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."