diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-19 00:41:14 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-19 01:49:31 +0100 |
commit | 3850f8cb15f74fd9beeb9f0743f722d41c6bdb25 (patch) | |
tree | c12b922a29656fdb11385e3fae2c93c50d187442 /Configure | |
parent | d4037cea3c26b7cfdc8cc518a31ba7a89081e931 (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-x | Configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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"; |