5 use ExtUtils::MakeMaker;
9 # Threads, Windows and 5.8.x don't seem to be best friends
10 if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
11 push @DEFINES, '-DA_MULTIPLICITY=0';
14 # Fork emulation got "fixed" in 5.10.1
15 if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
16 push @DEFINES, '-DA_FORKSAFE=0';
19 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
21 my $dist = 'autovivification';
23 (my $name = $dist) =~ s{-}{::}g;
25 (my $file = $dist) =~ s{-}{/}g;
26 $file = "lib/$file.pm";
33 configure_requires => {
34 'ExtUtils::MakeMaker' => 0,
37 'ExtUtils::MakeMaker' => 0,
43 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
44 homepage => "http://search.cpan.org/dist/$dist/",
45 license => 'http://dev.perl.org/licenses/',
46 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
52 AUTHOR => 'Vincent Pit <perl@profvince.com>',
54 VERSION_FROM => $file,
55 ABSTRACT_FROM => $file,
58 PREREQ_PM => \%PREREQ_PM,
59 MIN_PERL_VERSION => 5.008001,
62 PREOP => "pod2text $file > \$(DISTVNAME)/README",
63 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
66 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"