Commit | Line | Data |
---|---|---|
3357b1b1 | 1 | require 5.004; |
2 | use strict; | |
3 | use Config qw(%Config); | |
4 | use ExtUtils::MakeMaker; | |
5 | ||
6 | my @extra; | |
92dc3567 | 7 | |
8 | unless ($Config{d_u32align}) { | |
9 | @extra = (DEFINE => "-DU32_ALIGNMENT_REQUIRED") | |
10 | if !($Config{'byteorder'} eq '1234' || | |
11 | $Config{'byteorder'} eq '4321'); | |
12 | } | |
3357b1b1 | 13 | |
14 | WriteMakefile( | |
15 | 'NAME' => 'Digest::MD5', | |
16 | 'VERSION_FROM' => 'MD5.pm', | |
17 | @extra, | |
18 | 'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, | |
19 | ); | |
20 | exit; | |
21 |