From: gfx Date: Tue, 27 Oct 2009 02:17:54 +0000 (+0900) Subject: Ensure configure_requires 'ExtUtils::CBuilder' X-Git-Tag: 0.40_02~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4dd800c6caf320d6e056af43e87e435e46b941fa;p=gitmo%2FMouse.git Ensure configure_requires 'ExtUtils::CBuilder' --- diff --git a/Makefile.PL b/Makefile.PL index 02450a7..c86ec24 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -15,10 +15,13 @@ tests 't/*.t t/*/*.t'; # > Fixed looks_like_number(undef) to return false for perl >= 5.009002 requires 'Scalar::Util' => 1.14; +configure_requires 'ExtUtils::CBuilder'; + test_requires 'Test::More' => 0.88; test_requires 'Test::Exception' => 0.27; # test_requires 'Test::Output' => 0.16; # too many dependencies! + include 'Test::Exception'; # work around 0.27_0x (its use of diehook might be wrong) recommends 'MRO::Compat' if $] < 5.010; @@ -35,7 +38,6 @@ if($] < 5.008_001){ } if(!defined $use_xs){ - configure_requires 'ExtUtils::CBuilder'; require ExtUtils::CBuilder; $use_xs = ExtUtils::CBuilder->new(quiet => 1)->have_compiler(); }