X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=01f62934a7f22953ed2a952f86565c557a742711;hb=refs%2Ftags%2Frt56870;hp=f13e2f4c4a9d6083d0a486952e89eade689c50b0;hpb=5d24d5b90ad30be536680535dc82cd78ed0a0892;p=perl%2Fmodules%2Fautovivification.git diff --git a/Makefile.PL b/Makefile.PL index f13e2f4..01f6293 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,15 +4,6 @@ use strict; use warnings; use ExtUtils::MakeMaker; -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'; -} - -@DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES; - my $dist = 'autovivification'; (my $name = $dist) =~ s{-}{::}g; @@ -33,7 +24,7 @@ my %META = ( 'Test::More' => 0, %PREREQ_PM, }, - dynamic_config => 1, + dynamic_config => 0, resources => { bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", homepage => "http://search.cpan.org/dist/$dist/", @@ -43,21 +34,20 @@ my %META = ( ); WriteMakefile( - NAME => $name, - AUTHOR => 'Vincent Pit ', - 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 ', + LICENSE => 'perl', + VERSION_FROM => $file, + ABSTRACT_FROM => $file, + PL_FILES => {}, + 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" + }, );