From: Fuji, Goro Date: Mon, 17 May 2010 12:51:06 +0000 (+0900) Subject: Update Makefile.PL X-Git-Tag: 0.59~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec7a942399bc93a6635153ba2483e9e9141cce3d;p=gitmo%2FMouse.git Update Makefile.PL --- 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",