Fix testing the automake version:
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Dec 19 19:04:43 2008 +0000 (2008-12-19)
changeset 1103fab1755d2998
parent 1101 29ebc048d33f
child 1104 a781c47bb638
Fix testing the automake version:
- previously, only version with a more-than-two-digits minor would match
- make versions starting with major in [2-9] also match

/trunk/configure | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
configure
     1.1 --- a/configure	Tue Dec 16 18:12:34 2008 +0000
     1.2 +++ b/configure	Fri Dec 19 19:04:43 2008 +0000
     1.3 @@ -41,7 +41,7 @@
     1.4  bison/
     1.5  flex/
     1.6  makeinfo/
     1.7 -automake/\(GNU automake\) [[:digit:]]+\.[[:digit:]]{2,}
     1.8 +automake/\(GNU automake\) [[:digit:]]+\.[[:digit:]]{2,}|automake/\(GNU automake\) [2-9][[:digit:]]*\.
     1.9  libtool/
    1.10  curl/|wget/
    1.11  patch/
    1.12 @@ -87,7 +87,7 @@
    1.13                    tool_version=$(${tool} --version 2>&1)
    1.14                    str=$(echo "${tool_version}" |grep -E "${regexp}" |head -n 1)
    1.15                    if [ -z "${str}" ]; then
    1.16 -                      echo "wrong version string: expecting regexp '${regexp}'"
    1.17 +                      echo "${where}: wrong version string: expecting regexp '${regexp}'"
    1.18                        where=""
    1.19                        continue
    1.20                    fi