summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-19 00:41:14 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-19 01:49:31 +0100
commit3850f8cb15f74fd9beeb9f0743f722d41c6bdb25 (patch)
treec12b922a29656fdb11385e3fae2c93c50d187442 /Configure
parentd4037cea3c26b7cfdc8cc518a31ba7a89081e931 (diff)
Make apps/progs.pl more flexible
Make Configure write @disablables to configdata.pm and have apps/progs.pl use that data. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/Configure b/Configure
index 557ea2228d..255c2cc768 100755
--- a/Configure
+++ b/Configure
@@ -1664,7 +1664,7 @@ use warnings;
use Exporter;
#use vars qw(\@ISA \@EXPORT);
our \@ISA = qw(Exporter);
-our \@EXPORT = qw(\%config \%target \%disabled \%withargs \%unified_info);
+our \@EXPORT = qw(\%config \%target \%disabled \%withargs \%unified_info \@disablables);
EOF
print OUT "our %config = (\n";
@@ -1702,6 +1702,14 @@ print OUT <<"EOF";
);
EOF
+print OUT "our \@disablables = (\n";
+foreach (@disablables) {
+ print OUT " ", quotify("perl", $_), ",\n";
+}
+print OUT <<"EOF";
+);
+
+EOF
print OUT "our \%disabled = (\n";
foreach (sort keys %disabled) {
print OUT " ", quotify("perl", $_), " => ", quotify("perl", $disabled{$_}), ",\n";