From: Norbert Pocs Date: Wed, 26 Nov 2025 14:27:03 +0000 (+0100) Subject: Configure: Warn about deprecated option when enabled X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13890100da7ceb0b1f85c26b024fba41c4eba59f;p=thirdparty%2Fopenssl.git Configure: Warn about deprecated option when enabled Currently the deprecated configure option is warned only when "(no|disabled)-feature" is used, but wasn't warning when "enable-feature" was passed as a config option. Signed-off-by: Norbert Pocs Reviewed-by: Neil Horman Reviewed-by: Eugene Syromiatnikov (Merged from https://github.com/openssl/openssl/pull/29229) --- diff --git a/Configure b/Configure index 2d89667176d..b19a093ea89 100755 --- a/Configure +++ b/Configure @@ -984,6 +984,10 @@ while (@argvcopy) delete $disabled{"fips"}; delete $disabled{"jitter"}; } + elsif (exists $deprecated_disablables{$1}) + { + $deprecated_options{$_} = 1; + } my $algo = $1; delete $disabled{$algo};