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' }, | |
dcf2e277 | 16 | INSTALLDIRS => $] >= 5.007 ? 'perl' : 'site', |
527f7b64 AMS |
17 | VERSION_FROM => 'Storable.pm', |
18 | dist => { SUFFIX => 'gz', COMPRESS => 'gzip -f' }, | |
7a6a85bf | 19 | ); |
ee0f7aac NC |
20 | |
21 | my $ivtype = $Config{ivtype}; | |
22 | ||
23 | # I don't know if the VMS folks ever supported long long on 5.6.x | |
24 | if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) { | |
25 | print <<'EOM'; | |
26 | ||
27 | You appear to have a perl configured to use 64 bit integers in its scalar | |
28 | variables. If you have existing data written with an earlier version of | |
29 | Storable which this version of Storable refuses to load with a | |
30 | ||
31 | Byte order is not compatible | |
32 | ||
33 | error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1" | |
34 | in the Storable documentation for instructions on how to read your data. | |
35 | ||
36 | (You can find the documentation at the end of Storable.pm in POD format) | |
37 | ||
38 | EOM | |
39 | } |