[patch perl@10996] "fix" VAX Digest/MD5, Fcntl, brokennes in SDBM
[p5sagit/p5-mst-13.2.git] / ext / Digest / MD5 / Makefile.PL
CommitLineData
3357b1b1 1require 5.004;
2use strict;
3use Config qw(%Config);
4use ExtUtils::MakeMaker;
5
6my @extra;
92dc3567 7
8unless ($Config{d_u32align}) {
9 @extra = (DEFINE => "-DU32_ALIGNMENT_REQUIRED")
10 if !($Config{'byteorder'} eq '1234' ||
11 $Config{'byteorder'} eq '4321');
12}
55315086 13my @optimize = ();
14if ($^O eq 'VMS') {
15 if (defined($Config{ccname})) {
16 if ($Config{ccversion} <= 50390006 && grep(/VMS_VAX/, @INC) && ($Config{ccname} eq 'DEC')) {
17 @optimize = ("OPTIMIZE","/Optimize=(NODISJOINT)");
18 }
19 }
20}
3357b1b1 21
22WriteMakefile(
23 'NAME' => 'Digest::MD5',
24 'VERSION_FROM' => 'MD5.pm',
df39e595 25 MAN3PODS => {}, # Pods will be built by installman.
3357b1b1 26 @extra,
27 'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
55315086 28 @optimize
3357b1b1 29);
30exit;
31