Here's what I ended up doing.

Change 9589 by jhi@alpha on 2001/04/06 13:42:23

        Define the U32_ALIGNMENT_REQUIRED only if it's not already defined.

Affected files ...

... //depot/perl/ext/Digest/MD5/Makefile.PL#3 edit

Differences ...

==== //depot/perl/ext/Digest/MD5/Makefile.PL#3 (text) ====
Index: perl/ext/Digest/MD5/Makefile.PL
--- perl/ext/Digest/MD5/Makefile.PL.~1~ Fri Apr  6 16:50:38 2001
+++ perl/ext/Digest/MD5/Makefile.PL     Fri Apr  6 16:50:38 2001
@@ -4,10 +4,12 @@
 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',
End of Patch.


-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to