[configure] Fix automake version check.
author"Oron Peled" <oron@actcom.co.il>
Sat Aug 01 19:18:12 2009 +0200 (2009-08-01)
changeset 143276f8feef64c4
parent 1431 28a90ba877ca
child 1433 f04c7879f3c2
child 1444 8f6a793dc5b5
[configure] Fix automake version check.

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

Patch fixed by "Yann E. MORIN", with the added 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	Wed Jul 22 20:42:23 2009 +0200
     1.2 +++ b/configure	Sat Aug 01 19:18:12 2009 +0200
     1.3 @@ -332,7 +332,7 @@
     1.4  has_or_abort prog=flex
     1.5  has_or_abort prog=makeinfo
     1.6  has_or_abort prog=automake                                                      \
     1.7 -             ver='\(GNU automake\) (1\.[[:digit:]]{2,}\.|[2-9][[:digit:]]*\.)'  \
     1.8 +             ver='\(GNU automake\) (1\.[[:digit:]]{2,}|[2-9][[:digit:]]*\.)'    \
     1.9               err="'automake' 1.10 or above was not found"
    1.10  has_or_abort prog=libtool                                                                           \
    1.11               ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)'   \