X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=d7ae893f828f59d63d3250b67315d76e367454d9;hb=ec7a942399bc93a6635153ba2483e9e9141cce3d;hp=7f608e7f51e11b9182120cb679357560a9c250ed;hpb=af4995e2c7e75d5eadf52aa9eff8214115174777;p=gitmo%2FMouse.git diff --git a/Makefile.PL b/Makefile.PL index 7f608e7..d7ae893 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,7 +11,7 @@ use warnings; use inc::Module::Install; # 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 @@ -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",