funclib.sh: simplify version comparison functions.
commitfec7d8718047269d2b4e1346aa46ef38b0828845
authorGary V. Vaughan <gary@gnu.org>
Mon, 28 Oct 2013 07:14:22 +0000 (28 20:14 +1300)
committerGary V. Vaughan <gary@gnu.org>
Mon, 28 Oct 2013 07:49:47 +0000 (28 20:49 +1300)
treecb6a246cd27a296f9f5ead409108e3697e07d316
parent9fd7b88bc2b1c7a5b57495866b412c8767b27639
funclib.sh: simplify version comparison functions.

* gl/build-aux/funclib.sh (func_sort_ver): Much simplified.
(func_lt_ver): New function, return true if arguments are in
ascending order.
* gl/build-aux/bootstrap.in: Simplify with func_lt_ver.
* gl/build-aux/do-release-commit-and-tag.diff: Likewise.
* bootstrap: Regenerate.

Co-Authored-by: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
gl/build-aux/bootstrap.in
gl/build-aux/do-release-commit-and-tag.diff
gl/build-aux/funclib.sh