projects
/
p5sagit/strictures.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
026de4e
)
require the pragmas if a compiler is present
Karen Etheridge [Sat, 6 Oct 2012 20:25:24 +0000 (13:25 -0700)]
Makefile.PL
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
cf63958
..
2bb28b9
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-36,4
+36,13
@@
WriteMakefile(
},
},
},
+
+ (eval { require ExtUtils::CBuilder; 1 }
+ and ExtUtils::CBuilder->new->have_compiler)
+ ? (PREREQ_PM => {
+ indirect => 0,
+ multidimensional => 0,
+ 'bareword::filehandles' => 0,
+ })
+ : (),
);