[configure] Fix automake version check 1.4
authorOron Peled <oron@actcom.co.il>
Mon Aug 03 23:11:53 2009 +0200 (2009-08-03)
branch1.4
changeset 1455e6a3b4ffe576
parent 1454 5e3ec8c347d6
child 1456 94fc77c37418
[configure] Fix automake version check

The configure script fails on automake-1.11 (in Fedora-11) since
it looks for 3-digit version number.

"Yann E. MORIN", added the following comment:

The check for the automake version is not against a 3-digit number,
but really against a 3-part version number, a-la 'x.y.z'. Versions
such as 1.10 and 1.11 are also valid.
configure
     1.1 --- a/configure	Tue Jun 23 22:52:14 2009 +0200
     1.2 +++ b/configure	Mon Aug 03 23:11:53 2009 +0200
     1.3 @@ -47,7 +47,7 @@
     1.4  bison
     1.5  flex
     1.6  makeinfo
     1.7 -automake=\(GNU automake\) (1\.[[:digit:]]{2,}\.|[2-9][[:digit:]]*\.)
     1.8 +automake=\(GNU automake\) (1\.[[:digit:]]{2,}|[2-9][[:digit:]]*\.)
     1.9  libtool=\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)
    1.10  curl || wget
    1.11  patch