X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=68d31bc19e87f7a5613e4d44efff6b7fc98696a7;hb=5a0082a93fd11e0e6c71f61a82dc0886e246cc0e;hp=0573f82d82c6fd3771e768eb88836a92992e9854;hpb=db6820fb2ae3a318f9685d80ceb923daa69bb541;p=perl%2Fmodules%2Fautovivification.git diff --git a/Makefile.PL b/Makefile.PL index 0573f82..68d31bc 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'; } @@ -84,7 +84,7 @@ WriteMakefile( PL_FILES => {}, @DEFINES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => 5.008003, + MIN_PERL_VERSION => '5.008003', META_MERGE => \%META, dist => { PREOP => "pod2text -u $file > \$(DISTVNAME)/README",