Commit 13890100da for openssl.org

commit 13890100da7ceb0b1f85c26b024fba41c4eba59f
Author: Norbert Pocs <norbertp@openssl.org>
Date:   Wed Nov 26 15:27:03 2025 +0100

    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 <norbertp@openssl.org>

    Reviewed-by: Neil Horman <nhorman@openssl.org>
    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/29229)

diff --git a/Configure b/Configure
index 2d89667176..b19a093ea8 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};