Commit | Line | Data |
---|---|---|
7a6a85bf RG |
1 | # |
2 | # Copyright (c) 1995-2000, Raphael Manfredi | |
3 | # | |
9e21b3d0 JH |
4 | # You may redistribute only under the same terms as Perl 5, as specified |
5 | # in the README file that comes with the distribution. | |
7a6a85bf | 6 | # |
7a6a85bf RG |
7 | |
8 | use ExtUtils::MakeMaker; | |
9 | use Config; | |
10 | ||
11 | WriteMakefile( | |
527f7b64 AMS |
12 | NAME => 'Storable', |
13 | DISTNAME => "Storable", | |
a2307be4 NC |
14 | # We now ship this in t/ |
15 | # PREREQ_PM => { 'Test::More' => '0.41' }, | |
70e1279a | 16 | PREREQ_PM => { XSLoader => 0 }, |
dcf2e277 | 17 | INSTALLDIRS => $] >= 5.007 ? 'perl' : 'site', |
527f7b64 | 18 | VERSION_FROM => 'Storable.pm', |
70e1279a NC |
19 | ($ExtUtils::MakeMaker::VERSION > 6.45 ? |
20 | (META_MERGE => { resources => | |
99295a74 AMS |
21 | { bugtracker => 'http://rt.perl.org/perlbug/' } |
22 | }, | |
70e1279a | 23 | ) : ()), |
527f7b64 | 24 | dist => { SUFFIX => 'gz', COMPRESS => 'gzip -f' }, |
7a6a85bf | 25 | ); |
ee0f7aac NC |
26 | |
27 | my $ivtype = $Config{ivtype}; | |
28 | ||
29 | # I don't know if the VMS folks ever supported long long on 5.6.x | |
30 | if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) { | |
31 | print <<'EOM'; | |
32 | ||
33 | You appear to have a perl configured to use 64 bit integers in its scalar | |
34 | variables. If you have existing data written with an earlier version of | |
35 | Storable which this version of Storable refuses to load with a | |
36 | ||
37 | Byte order is not compatible | |
38 | ||
39 | error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1" | |
40 | in the Storable documentation for instructions on how to read your data. | |
41 | ||
42 | (You can find the documentation at the end of Storable.pm in POD format) | |
43 | ||
44 | EOM | |
45 | } |