changeset 7781:b13928e41580

* gnulib-tool (autoconf_minversion): Take the maximum version number found, not the minimum. Problem reported by James Youngman.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 04 Jan 2007 18:10:42 +0000
parents 97c838e6efe5
children a063c38d002a
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* gnulib-tool (autoconf_minversion): Take the maximum version number
+	found, not the minimum.  Problem reported by James Youngman.
+
 2007-01-03  Karl Berry  <karl@gnu.org>
 
 	* doc/error.texi: new file, explaining interaction with progname.
--- 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 @@
     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