X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=cf7f30e41c8ab2c69e3b39ced29c39809f6d2d0a;hb=958ad1c97c6de7b3f96b93b8c166de775736a560;hp=e34050dbb4037e837e9e47475c0628c5959e3406;hpb=754bf3a2a63513e9cbdbaa0fa819f331e9bdaf47;p=p5sagit%2Fstrictures.git diff --git a/Makefile.PL b/Makefile.PL index e34050d..cf7f30e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,11 +1,11 @@ use strict; use warnings FATAL => 'all'; use 5.006; +require "inc/ExtUtils/HasCompiler.pm"; my $have_compiler = ! parse_args()->{PUREPERL_ONLY} - && eval { require ExtUtils::CBuilder; 1 } - && ExtUtils::CBuilder->new->have_compiler; + && ExtUtils::HasCompiler::can_compile_loadable_object(quiet => 1); my %extra_prereqs = ( indirect => 0, @@ -31,6 +31,9 @@ my %META = ( }, }, develop => { requires => { + 'Test::Pod' => 0, + 'Test::Pod::Coverage' => 0, + 'Pod::Coverage::CountParents' => 0, %extra_prereqs, } }, },