summaryrefslogtreecommitdiff
path: root/cpan/Digest-SHA/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Digest-SHA/Makefile.PL')
-rw-r--r--cpan/Digest-SHA/Makefile.PL12
1 files changed, 1 insertions, 11 deletions
diff --git a/cpan/Digest-SHA/Makefile.PL b/cpan/Digest-SHA/Makefile.PL
index 9e87594275..721aaeb0c6 100644
--- a/cpan/Digest-SHA/Makefile.PL
+++ b/cpan/Digest-SHA/Makefile.PL
@@ -8,21 +8,11 @@ use Config qw(%Config);
my $PM = 'lib/Digest/SHA.pm';
my %opts;
-getopts('tx', \%opts);
+getopts('tx', \%opts); # -t is no longer used, but allow it anyway
my @defines;
push(@defines, '-DSHA_PERL_MODULE') if $] >= 5.004;
-push(@defines, '-DSHA_THREAD_SAFE') if $opts{'t'};
push(@defines, '-DNO_SHA_384_512') if $opts{'x'};
-
- # Configure SHA source to use static arrays for
- # message schedules if compiling on Intel platforms.
- # This seems to speed things up a bit. However,
- # DON'T do this if thread-safe option is in force.
-
-if ($Config{archname} =~ /^i[3456]86/) {
- push(@defines, '-DSHA_STO_CLASS=static') unless $opts{'t'};
-}
my $define = join(' ', @defines);
# Workaround for DEC compiler bug, adapted from Digest::MD5