summaryrefslogtreecommitdiff
path: root/ext/Digest/MD5/Makefile.PL
blob: 9d59dba621346213e1a238418c0aa1a94daa08bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 5.004;
use strict;
use Config qw(%Config);
use ExtUtils::MakeMaker;

my @extra;
@extra = (DEFINE => "-DU32_ALIGNMENT_REQUIRED")
    if $Config{'byteorder'} ne '1234' ||
       $Config{'byteorder'} ne '4321' ||
       $^O eq 'VMS' ||
       $Config{u32_alignment_required};

WriteMakefile(
    'NAME'	   => 'Digest::MD5',
    'VERSION_FROM' => 'MD5.pm',
    @extra,
    'dist'         => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
);
exit;