* config/ltmain.m4sh (func_mode_link): Allow five digits in

version-info.
This commit is contained in:
Ralf Wildenhues 2005-02-04 16:12:11 +00:00
parent c2930cb393
commit 95de4ffd50
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2005-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_mode_link): Allow five digits in
version-info.
* NEWS: s/Linux/GNU &/.
2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

View File

@ -4,7 +4,7 @@ m4_divert_push([SCRIPT])# @configure_input@
# ltmain.sh (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@ -4302,7 +4302,7 @@ func_mode_link ()
# Check that each of the things are valid numbers.
case $current in
0 | [[1-9]] | [[1-9]][[0-9]] | [[1-9]][[0-9]][[0-9]]) ;;
0|[[1-9]]|[[1-9]][[0-9]]|[[1-9]][[0-9]][[0-9]]|[[1-9]][[0-9]][[0-9]][[0-9]]|[[1-9]][[0-9]][[0-9]][[0-9]][[0-9]]) ;;
*)
func_error "CURRENT \`$current' is not a nonnegative integer"
func_fatal_error "\`$vinfo' is not valid version information"
@ -4310,7 +4310,7 @@ func_mode_link ()
esac
case $revision in
0 | [[1-9]] | [[1-9]][[0-9]] | [[1-9]][[0-9]][[0-9]]) ;;
0|[[1-9]]|[[1-9]][[0-9]]|[[1-9]][[0-9]][[0-9]]|[[1-9]][[0-9]][[0-9]][[0-9]]|[[1-9]][[0-9]][[0-9]][[0-9]][[0-9]]) ;;
*)
func_error "REVISION \`$revision' is not a nonnegative integer"
func_fatal_error "\`$vinfo' is not valid version information"
@ -4318,7 +4318,7 @@ func_mode_link ()
esac
case $age in
0 | [[1-9]] | [[1-9]][[0-9]] | [[1-9]][[0-9]][[0-9]]) ;;
0|[[1-9]]|[[1-9]][[0-9]]|[[1-9]][[0-9]][[0-9]]|[[1-9]][[0-9]][[0-9]][[0-9]]|[[1-9]][[0-9]][[0-9]][[0-9]][[0-9]]) ;;
*)
func_error "AGE \`$age' is not a nonnegative integer"
func_fatal_error "\`$vinfo' is not valid version information"