To make it less surprising and confusing, leave a message on configdata.pm

This message will ONLY be visible in OpenSSL 1.1.1, it will not show
in 1.1.1a or any other release or update.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5185)
This commit is contained in:
Richard Levitte 2018-01-29 18:33:32 +01:00
parent 2da0130b98
commit 7187f0e1ea

View File

@ -2554,6 +2554,17 @@ my %builders = (
$builders{$builder}->($builder_platform, @builder_opts);
# Show a note on the use of configdata.pm, but ONLY for release 1.1.1
# (i.e. this message disappears with the following update, 1.1.1a)
print <<"EOF" if ($config{version_num} =~ m|^0x1010100.L$|);
NOTE: Starting with OpenSSL 1.1.1, 'Configure' doesn't display all the disabled
options or the "make variables" with their values. Instead, you must use
'configdata.pm' as a script to get a display of the configuration data. For
help, please do this:
perl configdata.pm --help
EOF
print <<"EOF" if ($disabled{threads} eq "unavailable");
The library could not be configured for supporting multi-threaded