From: Jarkko Hietaniemi Date: Fri, 6 Apr 2001 13:42:23 +0000 (+0000) Subject: Define the U32_ALIGNMENT_REQUIRED only if it's not already defined. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=92dc35679cb164be847199993634f6d2cabffe53;p=p5sagit%2Fp5-mst-13.2.git Define the U32_ALIGNMENT_REQUIRED only if it's not already defined. p4raw-id: //depot/perl@9589 --- diff --git a/ext/Digest/MD5/Makefile.PL b/ext/Digest/MD5/Makefile.PL index 31dcabf..d86c577 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',