projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Ensure backward compatibility
[gitmo/Mouse.git]
/
Makefile.PL
diff --git
a/Makefile.PL
b/Makefile.PL
index
8e9ed08
..
02450a7
100755
(executable)
--- 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;