]> iEval git - slob.git/blobdiff - Makefile.PL
LZMA compression + tests
[slob.git] / Makefile.PL
index 2c380c020ec061e96309ef1dfa9852180df9fc85..317d6c4f8a584f3bee000e7add29004e6914acc5 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,9 @@ WriteMakefile(
        MIN_PERL_VERSION  => '5.14.0',
        LICENSE           => 'perl',
        SIGN              => 1,
-       PREREQ_PM         => {},
+       PREREQ_PM         => {
+               qw/Compress::Raw::Lzma 0/,
+       },
        META_ADD          => {
                dynamic_config => 0,
                resources      => {
This page took 0.027001 seconds and 4 git commands to generate.