From 554799dc314eab644099147da9cd730e207f7fe6 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Fri, 4 Feb 2005 16:13:13 +0000 Subject: [PATCH] * config/ltmain.m4sh (func_mode_link): Allow five digits in version-info. --- ChangeLog | 3 +++ config/ltmain.m4sh | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 207757ad5..2ce2b07d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-02-04 Ralf Wildenhues + * config/ltmain.m4sh (func_mode_link): Allow five digits in + version-info. + * NEWS: s/Linux/GNU &/. 2005-02-03 Reid Spencer , diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index a7bfb0e6e..2bd793e43 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -4,7 +4,7 @@ m4_divert_push([SCRIPT])# @configure_input@ # ltmain.sh (GNU @PACKAGE@@TIMESTAMP@) @VERSION@ # Written by Gordon Matzigkeit , 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. @@ -4267,7 +4267,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" @@ -4275,7 +4275,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" @@ -4283,7 +4283,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" -- 2.47.2