X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=Makefile.PL;h=02450a7ac127673eceb990fbb07410dee0aa2edc;hp=8e9ed086cba2763e0559f03aa397631c35d1b303;hb=3ea28db6c35f2f60bfcce151cb4fcee58d6edcf7;hpb=000bf66b6556949556a3499b970fd33ac83b3d4d diff --git a/Makefile.PL b/Makefile.PL index 8e9ed08..02450a7 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -30,6 +30,10 @@ for (@ARGV) { /^--xs$/ and $use_xs = 1; } +if($] < 5.008_001){ + $use_xs = 0; +} + if(!defined $use_xs){ configure_requires 'ExtUtils::CBuilder'; require ExtUtils::CBuilder;