diff options
author | Richard Levitte <levitte@openssl.org> | 2023-05-15 10:09:42 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2023-05-22 08:29:30 +0200 |
commit | b93c2d360812c4e1ecc1d93f3f1e8d58e9e4e7f4 (patch) | |
tree | 46aa490fa4a5f3f14ef2489477a7bb7ce0dce273 /util | |
parent | b0973c184c228b4a5ad2b4cbe9265c61f019ca1c (diff) |
Update VMS configurations
A native x86_64 C compiler has appeared.
We preserve the previous config target with a new name to indicate that it's
for cross compilation, at least for the time being.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20983)
(cherry picked from commit d6175dcca746f0996db18ab2b6b37a4152097afe)
Diffstat (limited to 'util')
-rwxr-xr-x | util/perl/OpenSSL/config.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm index c44a8dfb3f..cc9917b6e6 100755 --- a/util/perl/OpenSSL/config.pm +++ b/util/perl/OpenSSL/config.pm @@ -354,8 +354,12 @@ sub determine_compiler_settings { if ( $SYSTEM eq 'OpenVMS' ) { my $v = `CC/VERSION NLA0:`; if ($? == 0) { + # The normal releases have a version number prefixed with a V. + # However, other letters have been seen as well (for example X), + # and it's documented that HP (now VSI) reserve the letter W, X, + # Y and Z for their own uses. my ($vendor, $version) = - ( $v =~ m/^([A-Z]+) C V([0-9\.-]+) on / ); + ( $v =~ m/^([A-Z]+) C [VWXYZ]([0-9\.-]+)(:? +\(.*?\))? on / ); my ($major, $minor, $patch) = ( $version =~ m/^([0-9]+)\.([0-9]+)-0*?(0|[1-9][0-9]*)$/ ); $CC = 'CC'; |