diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-06 13:42:23 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-06 13:42:23 +0000 |
commit | 92dc35679cb164be847199993634f6d2cabffe53 (patch) | |
tree | d17ec416b1d51390ee49ef05a03e5330e3996270 /ext/Digest | |
parent | 26d9b02fa65570745e70dcbd0d92c1354fc4ecff (diff) | |
download | perl-92dc35679cb164be847199993634f6d2cabffe53.tar.gz |
Define the U32_ALIGNMENT_REQUIRED only if it's not already defined.
p4raw-id: //depot/perl@9589
Diffstat (limited to 'ext/Digest')
-rw-r--r-- | ext/Digest/MD5/Makefile.PL | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/Digest/MD5/Makefile.PL b/ext/Digest/MD5/Makefile.PL index 31dcabf891..d86c57714f 100644 --- a/ext/Digest/MD5/Makefile.PL +++ b/ext/Digest/MD5/Makefile.PL @@ -4,10 +4,12 @@ use Config qw(%Config); use ExtUtils::MakeMaker; my @extra; -@extra = (DEFINE => "-DU32_ALIGNMENT_REQUIRED") - if !($Config{'byteorder'} eq '1234' || $Config{'byteorder'} eq '4321') || - $^O eq 'VMS' || - $Config{d_u32align}; + +unless ($Config{d_u32align}) { + @extra = (DEFINE => "-DU32_ALIGNMENT_REQUIRED") + if !($Config{'byteorder'} eq '1234' || + $Config{'byteorder'} eq '4321'); +} WriteMakefile( 'NAME' => 'Digest::MD5', |