]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh (func_mode_link): Allow five digits in
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 4 Feb 2005 16:12:11 +0000 (16:12 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 4 Feb 2005 16:12:11 +0000 (16:12 +0000)
version-info.

ChangeLog
config/ltmain.m4sh

index 2fd2d9a95743b359fdb9cd3662e4d0cb28c44e1e..72b7a8698d519511df0fa52a66f15b3a7df2e99c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index a87a0faad70dca49e3b34ec34228237ec3a383d6..a45cee17315baf27ef8572e98af69da85cef3e01 100644 (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"