From 54ef20b0f8dcbb0130c86bdf6d4bec6fb2cb8048 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 19 Dec 2008 19:04:43 +0000 Subject: 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(-) diff --git a/configure b/configure index 27a6205..7f38a33 100755 --- a/configure +++ b/configure @@ -41,7 +41,7 @@ sed/ bison/ flex/ makeinfo/ -automake/\(GNU automake\) [[:digit:]]+\.[[:digit:]]{2,} +automake/\(GNU automake\) [[:digit:]]+\.[[:digit:]]{2,}|automake/\(GNU automake\) [2-9][[:digit:]]*\. libtool/ curl/|wget/ patch/ @@ -87,7 +87,7 @@ has_or_abort() { tool_version=$(${tool} --version 2>&1) str=$(echo "${tool_version}" |grep -E "${regexp}" |head -n 1) if [ -z "${str}" ]; then - echo "wrong version string: expecting regexp '${regexp}'" + echo "${where}: wrong version string: expecting regexp '${regexp}'" where="" continue fi -- cgit v0.10.2-6-g49f6