Commit | Line | Data |
7a6a85bf |
1 | # |
2 | # Copyright (c) 1995-2000, Raphael Manfredi |
3 | # |
9e21b3d0 |
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 |
7 | |
8 | use ExtUtils::MakeMaker; |
9 | use Config; |
10 | |
11 | WriteMakefile( |
527f7b64 |
12 | NAME => 'Storable', |
13 | DISTNAME => "Storable", |
14 | MAN3PODS => {}, |
a2307be4 |
15 | # We now ship this in t/ |
16 | # PREREQ_PM => { 'Test::More' => '0.41' }, |
dcf2e277 |
17 | INSTALLDIRS => $] >= 5.007 ? 'perl' : 'site', |
527f7b64 |
18 | VERSION_FROM => 'Storable.pm', |
19 | dist => { SUFFIX => 'gz', COMPRESS => 'gzip -f' }, |
7a6a85bf |
20 | ); |
ee0f7aac |
21 | |
22 | my $ivtype = $Config{ivtype}; |
23 | |
24 | # I don't know if the VMS folks ever supported long long on 5.6.x |
25 | if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) { |
26 | print <<'EOM'; |
27 | |
28 | You appear to have a perl configured to use 64 bit integers in its scalar |
29 | variables. If you have existing data written with an earlier version of |
30 | Storable which this version of Storable refuses to load with a |
31 | |
32 | Byte order is not compatible |
33 | |
34 | error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1" |
35 | in the Storable documentation for instructions on how to read your data. |
36 | |
37 | (You can find the documentation at the end of Storable.pm in POD format) |
38 | |
39 | EOM |
40 | } |