From 0794207582b9f263f4eb2f0819bbb0ec4397a760 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 4 Jan 2007 18:10:42 +0000 Subject: [PATCH] * gnulib-tool (autoconf_minversion): Take the maximum version number found, not the minimum. Problem reported by James Youngman. --- ChangeLog | 5 +++++ gnulib-tool | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5b0ca4af5c..c7bd71fca3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-04 Paul Eggert + + * gnulib-tool (autoconf_minversion): Take the maximum version number + found, not the minimum. Problem reported by James Youngman. + 2007-01-03 Karl Berry * doc/error.texi: new file, explaining interaction with progname. diff --git a/gnulib-tool b/gnulib-tool index 2ce09a0aca..2bd28747fb 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2007-01-03 12:19:04 $' +cvsdatestamp='$Date: 2007-01-04 18:10:42 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` nl=' @@ -699,7 +699,7 @@ func_ln_if_changed () if test -n "$prereqs"; then autoconf_minversion=` for version in $prereqs; do echo $version; done | - LC_ALL=C sort -nu | sed 1q + LC_ALL=C sort -nru | sed 1q ` fi fi -- 2.30.2