X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FStorable%2FMakefile.PL;h=985f56d7aa05072e4318886370d693be1306afae;hb=5e137bc214f9c21ed33df8110b67005fb915c4e7;hp=90bd52e9d30982e64cdbca78a0f5274b0f84a23a;hpb=25f64a11de689eea2260b6bdee0819ca648746ff;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/Storable/Makefile.PL b/ext/Storable/Makefile.PL index 90bd52e..985f56d 100644 --- a/ext/Storable/Makefile.PL +++ b/ext/Storable/Makefile.PL @@ -1,4 +1,3 @@ -# $Id: Makefile.PL,v 1.0.1.1 2001/01/03 09:38:39 ram Exp $ # # Copyright (c) 1995-2000, Raphael Manfredi # @@ -13,8 +12,29 @@ WriteMakefile( NAME => 'Storable', DISTNAME => "Storable", MAN3PODS => {}, - PREREQ_PM => { 'Test::More' => '0.41' }, - INSTALLDIRS => 'perl', +# We now ship this in t/ +# PREREQ_PM => { 'Test::More' => '0.41' }, + INSTALLDIRS => $] >= 5.007 ? 'perl' : 'site', VERSION_FROM => 'Storable.pm', dist => { SUFFIX => 'gz', COMPRESS => 'gzip -f' }, ); + +my $ivtype = $Config{ivtype}; + +# I don't know if the VMS folks ever supported long long on 5.6.x +if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) { + print <<'EOM'; + +You appear to have a perl configured to use 64 bit integers in its scalar +variables. If you have existing data written with an earlier version of +Storable which this version of Storable refuses to load with a + + Byte order is not compatible + +error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1" +in the Storable documentation for instructions on how to read your data. + +(You can find the documentation at the end of Storable.pm in POD format) + +EOM +}