mirror of https://github.com/openssl/openssl
Configure: Display error/warning on deprecated/unsupported options after loop
Fixes #6755 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6759)
This commit is contained in:
parent
b709babbca
commit
ddbe700e93
26
Configure
26
Configure
|
@ -888,21 +888,21 @@ while (@argvcopy)
|
||||||
else
|
else
|
||||||
{ $config{options} .= " ".$_; }
|
{ $config{options} .= " ".$_; }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (defined($config{api}) && !exists $apitable->{$config{api}}) {
|
if (defined($config{api}) && !exists $apitable->{$config{api}}) {
|
||||||
die "***** Unsupported api compatibility level: $config{api}\n",
|
die "***** Unsupported api compatibility level: $config{api}\n",
|
||||||
}
|
}
|
||||||
|
|
||||||
if (keys %deprecated_options)
|
if (keys %deprecated_options)
|
||||||
{
|
{
|
||||||
warn "***** Deprecated options: ",
|
warn "***** Deprecated options: ",
|
||||||
join(", ", keys %deprecated_options), "\n";
|
join(", ", keys %deprecated_options), "\n";
|
||||||
}
|
}
|
||||||
if (keys %unsupported_options)
|
if (keys %unsupported_options)
|
||||||
{
|
{
|
||||||
die "***** Unsupported options: ",
|
die "***** Unsupported options: ",
|
||||||
join(", ", keys %unsupported_options), "\n";
|
join(", ", keys %unsupported_options), "\n";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# If any %useradd entry has been set, we must check that the "make
|
# If any %useradd entry has been set, we must check that the "make
|
||||||
|
|
Loading…
Reference in New Issue