This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move SelfLoader from ext/ to dist/
[perl5.git] / ext / Storable / Makefile.PL
CommitLineData
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
8use ExtUtils::MakeMaker;
9use Config;
10
11WriteMakefile(
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
21my $ivtype = $Config{ivtype};
22
23# I don't know if the VMS folks ever supported long long on 5.6.x
24if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) {
25 print <<'EOM';
26
27You appear to have a perl configured to use 64 bit integers in its scalar
28variables. If you have existing data written with an earlier version of
29Storable which this version of Storable refuses to load with a
30
31 Byte order is not compatible
32
33error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1"
34in 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
38EOM
39}