1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23#  Copyright (c) 1995-2000, Raphael Manfredi
24#
25#  You may redistribute only under the same terms as Perl 5, as specified
26#  in the README file that comes with the distribution.
27#
28
29use ExtUtils::MakeMaker;
30use Config;
31
32WriteMakefile(
33    NAME                => 'Storable',
34    DISTNAME            => "Storable",
35    MAN3PODS            => {},
36# We now ship this in t/
37#    PREREQ_PM           => { 'Test::More' => '0.41' },
38    INSTALLDIRS		=> $] >= 5.007 ? 'perl' : 'site',
39    VERSION_FROM        => 'Storable.pm',
40    dist                => { SUFFIX => 'gz', COMPRESS => 'gzip -f' },
41);
42
43my $ivtype = $Config{ivtype};
44
45# I don't know if the VMS folks ever supported long long on 5.6.x
46if ($ivtype and $ivtype eq 'long long' and $^O !~ /^MSWin/) {
47  print <<'EOM';
48
49You appear to have a perl configured to use 64 bit integers in its scalar
50variables.  If you have existing data written with an earlier version of
51Storable which this version of Storable refuses to load with a
52
53   Byte order is not compatible
54
55error, then please read the section "64 bit data in perl 5.6.0 and 5.6.1"
56in the Storable documentation for instructions on how to read your data.
57
58(You can find the documentation at the end of Storable.pm in POD format)
59
60EOM
61}
62