]> git.vpit.fr Git - perl/modules/autovivification.git/blobdiff - Makefile.PL
Test numerous autovivifications
[perl/modules/autovivification.git] / Makefile.PL
index f13e2f4c4a9d6083d0a486952e89eade689c50b0..3c510a82b90fc9325639337739b662a6c6eefba6 100644 (file)
@@ -1,4 +1,4 @@
-use 5.008;
+use 5.008001;
 
 use strict;
 use warnings;
@@ -8,7 +8,12 @@ my @DEFINES;
 
 # Threads, Windows and 5.8.x don't seem to be best friends
 if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
- push @DEFINES, '-DI_MULTIPLICITY=0';
+ push @DEFINES, '-DA_MULTIPLICITY=0';
+}
+
+# Fork emulation got "fixed" in 5.10.1
+if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
+ push @DEFINES, '-DA_FORKSAFE=0';
 }
 
 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
@@ -43,21 +48,21 @@ my %META = (
 );
 
 WriteMakefile(
   NAME             => $name,
   AUTHOR           => 'Vincent Pit <perl@profvince.com>',
   LICENSE          => 'perl',
   VERSION_FROM     => $file,
   ABSTRACT_FROM    => $file,
   PL_FILES         => {},
   @DEFINES,
   PREREQ_PM        => \%PREREQ_PM,
   MIN_PERL_VERSION => 5.008,
   META_MERGE       => \%META,
   dist             => {
-        PREOP    => "pod2text $file > \$(DISTVNAME)/README",
-        COMPRESS => 'gzip -9f', SUFFIX => 'gz'
   },
   clean            => {
-        FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
   },
+ NAME             => $name,
+ AUTHOR           => 'Vincent Pit <perl@profvince.com>',
+ LICENSE          => 'perl',
+ VERSION_FROM     => $file,
+ ABSTRACT_FROM    => $file,
+ PL_FILES         => {},
+ @DEFINES,
+ PREREQ_PM        => \%PREREQ_PM,
MIN_PERL_VERSION => 5.008001,
+ META_MERGE       => \%META,
+ dist             => {
+  PREOP    => "pod2text $file > \$(DISTVNAME)/README",
+  COMPRESS => 'gzip -9f', SUFFIX => 'gz'
+ },
+ clean            => {
+  FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
+ },
 );