diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-12-19 19:04:43 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-12-19 19:04:43 +0000 |
commit | 54ef20b0f8dcbb0130c86bdf6d4bec6fb2cb8048 (patch) | |
tree | 2a374c55f4e1acf30fa41bb8472ff9eee5883c9f | |
parent | 65bb3ac67c741c46aa27ccd98cb7930a2b731306 (diff) | |
download | crosstool-ng-54ef20b0f8dcbb0130c86bdf6d4bec6fb2cb8048.tar.gz crosstool-ng-54ef20b0f8dcbb0130c86bdf6d4bec6fb2cb8048.tar.bz2 crosstool-ng-54ef20b0f8dcbb0130c86bdf6d4bec6fb2cb8048.zip |
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(-)
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |