mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Allow more than one major version number in target_os
This commit is contained in:
parent
c2dfc6d869
commit
1140625cd3
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ AS_CASE("${os_version_style}",
|
|||
[minor], [os_version_style_transform=['s/\([0-9]\.[0-9][0-9]*\)\.[0-9][.0-9]*$/\1/']],
|
||||
[major+0], [os_version_style_transform=['s/\([0-9]\)\.[0-9][.0-9]*$/\1.0/']],
|
||||
[major], [os_version_style_transform=['s/\([0-9]\)\.[0-9][.0-9]*$/\1/']],
|
||||
[none], [os_version_style_transform=['s/[0-9]\.[0-9][.0-9]*$//']],
|
||||
[none], [os_version_style_transform=['s/[0-9]*\.[0-9][.0-9]*$//']],
|
||||
[AC_MSG_ERROR(unknown --with-os-version-style: $withval)])
|
||||
AS_IF([test -z "$target_alias" -a -n "$os_version_style_transform"],
|
||||
[
|
||||
|
|
Loading…
Add table
Reference in a new issue