Fix threading tests for bad perls:
[gitmo/Mouse.git] / Makefile.PL
index 7f608e7..17cdb7e 100755 (executable)
@@ -8,10 +8,10 @@ BEGIN{
 
 use strict;
 use warnings;
-use inc::Module::Install;
+use inc::Module::Install 0.99;
 
 # for co-developpers
-use Module::Install::XSUtil 0.22;
+use Module::Install::XSUtil 0.24;
 use Module::Install::AuthorTests;
 
 system($^X, 'tool/generate-mouse-tiny.pl', 'lib/Mouse/Tiny.pm') == 0
@@ -34,7 +34,7 @@ if($] < 5.010) {
 }
 
 my %suggests = (
-    'Class::Method::Modifiers::Fast' => 0.041,
+    'Data::Util'                     => 0.55,
     'MouseX::AttributeHelpers'       => 0.06,
 );
 
@@ -58,8 +58,8 @@ require 'lib/Mouse/Spec.pm'; # for the version
 #    include_deps 'Carp::Always';
 #}
 
-# cc_available recognizes the '--pp' and '--xs' options
-my $use_xs = ($] >= 5.008_001 && cc_available());
+# cc_want deals with the '--pp' and '--xs' options
+my $use_xs = ($] >= 5.008_001 && want_xs());
 
 if($use_xs){
     print "Mouse configured with XS.\n",