X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=bffe16092a728a29a3f3c75fe277cad49171ed5e;hb=e1d2632ef0b4e3ee3e418c12903f81b5d7b55b1a;hp=1c5c428370cef5598b9dd3158304139b31be1bae;hpb=3201984d539ab173c11a001792be4294af17a08c;p=perl%2Fmodules%2Fautovivification.git diff --git a/Makefile.PL b/Makefile.PL index 1c5c428..bffe160 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -34,12 +34,12 @@ if ($^O eq 'MSWin32' and not grep /^LD[A-Z]*=/, @ARGV) { print $is_gcc_34 ? "yes\n" : "no\n"; # Threads, Windows and 5.8.x don't seem to be best friends -if ($^O eq 'MSWin32' && $^V lt v5.9.0) { +if ($^O eq 'MSWin32' && "$]" < 5.009) { push @DEFINES, '-DA_MULTIPLICITY=0'; } # Fork emulation got "fixed" in 5.10.1 -if ($^O eq 'MSWin32' && $^V lt v5.10.1) { +if ($^O eq 'MSWin32' && "$]" < 5.010001) { push @DEFINES, '-DA_FORKSAFE=0'; } @@ -87,7 +87,7 @@ WriteMakefile( MIN_PERL_VERSION => 5.008003, META_MERGE => \%META, dist => { - PREOP => "pod2text $file > \$(DISTVNAME)/README", + PREOP => "pod2text -u $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, clean => {