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:
Richard Levitte 2018-07-22 10:56:25 +02:00
parent b709babbca
commit ddbe700e93

View File

@ -888,6 +888,7 @@ while (@argvcopy)
else
{ $config{options} .= " ".$_; }
}
}
if (defined($config{api}) && !exists $apitable->{$config{api}}) {
die "***** Unsupported api compatibility level: $config{api}\n",
@ -903,7 +904,6 @@ while (@argvcopy)
die "***** Unsupported options: ",
join(", ", keys %unsupported_options), "\n";
}
}
# If any %useradd entry has been set, we must check that the "make
# variables" haven't been set. We start by checking of any %useradd entry