* ltmain.in: Improve check for valid -version-info parameter.

This commit is contained in:
Nick Hudson 2001-04-08 00:46:58 +00:00 committed by Gary V. Vaughan
parent e35a1e9e50
commit 19edc88b64
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2001-04-08 Nick Hudson <skrll@netbsd.org>
* ltmain.in: Improve check for valid -version-info parameter.
2001-04-08 Gary V. Vaughan <gvv@techie.com> 2001-04-08 Gary V. Vaughan <gvv@techie.com>
From Nick Hudson <skrll@netbsd.org> From Nick Hudson <skrll@netbsd.org>

View File

@ -2221,7 +2221,7 @@ compiler."
# Check that each of the things are valid numbers. # Check that each of the things are valid numbers.
case $current in case $current in
0 | [1-9] | [1-9][0-9]*) ;; 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
*) *)
$echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
$echo "$modename: \`$vinfo' is not valid version information" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@ -2230,7 +2230,7 @@ compiler."
esac esac
case $revision in case $revision in
0 | [1-9] | [1-9][0-9]*) ;; 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
*) *)
$echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
$echo "$modename: \`$vinfo' is not valid version information" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
@ -2239,7 +2239,7 @@ compiler."
esac esac
case $age in case $age in
0 | [1-9] | [1-9][0-9]*) ;; 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
*) *)
$echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
$echo "$modename: \`$vinfo' is not valid version information" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2