From: gfx Date: Thu, 3 Dec 2009 01:48:34 +0000 (+0900) Subject: Tweaks in Makefile.PL X-Git-Tag: 0.40_09~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1161922ce77b4f7ab9a90e56b6de6617e56dfc7;p=gitmo%2FMouse.git Tweaks in Makefile.PL --- diff --git a/Makefile.PL b/Makefile.PL index b017211..91543a0 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -32,15 +32,15 @@ if(Mouse::Spec->MouseVersion =~ /_/){ # DEVEL RELEASE my $use_xs; +if($] < 5.008_001){ + $use_xs = 0; +} + for (@ARGV) { /^--pp$/ and $use_xs = 0; /^--xs$/ and $use_xs = 1; } -if($] < 5.008_001){ - $use_xs = 0; -} - if(!defined $use_xs){ $use_xs = cc_available(); }