mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* ltmain.in: Improve check for valid -version-info parameter.
This commit is contained in:
parent
e35a1e9e50
commit
19edc88b64
@ -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>
|
||||
|
||||
From Nick Hudson <skrll@netbsd.org>
|
||||
|
@ -2221,7 +2221,7 @@ compiler."
|
||||
|
||||
# Check that each of the things are valid numbers.
|
||||
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: \`$vinfo' is not valid version information" 1>&2
|
||||
@ -2230,7 +2230,7 @@ compiler."
|
||||
esac
|
||||
|
||||
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: \`$vinfo' is not valid version information" 1>&2
|
||||
@ -2239,7 +2239,7 @@ compiler."
|
||||
esac
|
||||
|
||||
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: \`$vinfo' is not valid version information" 1>&2
|
||||
|
Loading…
Reference in New Issue
Block a user