Add debugging output
[slob.git] / Makefile.PL
index 2c380c020ec061e96309ef1dfa9852180df9fc85..5688370e815ebf030f957e1f0aa9fb272c245ca5 100644 (file)
@@ -1,6 +1,10 @@
 use 5.014000;
 use ExtUtils::MakeMaker;
 
+my $packed_nr = "\x00\x00\x00\x00\x00\xBC\x61\x4E";
+my $unpacked_nr = eval { unpack 'Q>', $packed_nr };
+$unpacked_nr == 12345678 || die "Failed to unpack quad, this Perl does not support 64-bit integers. Bailing out. Error '$!'\n";
+
 WriteMakefile(
        NAME              => 'Slob',
        VERSION_FROM      => 'lib/Slob.pm',
@@ -9,7 +13,11 @@ WriteMakefile(
        MIN_PERL_VERSION  => '5.14.0',
        LICENSE           => 'perl',
        SIGN              => 1,
-       PREREQ_PM         => {},
+       PREREQ_PM         => {
+               qw/Compress::Raw::Bzip2 0
+                  Compress::Raw::Lzma  0
+                  Compress::Raw::Zlib  0/,
+       },
        META_ADD          => {
                dynamic_config => 0,
                resources      => {
This page took 0.009793 seconds and 4 git commands to generate.