mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +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>
|
2001-04-08 Gary V. Vaughan <gvv@techie.com>
|
||||||
|
|
||||||
From Nick Hudson <skrll@netbsd.org>
|
From Nick Hudson <skrll@netbsd.org>
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user