Blow up if we're in author mode and don't have the right M::I extensions
[catagits/Catalyst-Runtime.git] / Makefile.PL
index ef3263a..db9d2df 100644 (file)
@@ -1,5 +1,12 @@
+use strict;
+use warnings;
 use inc::Module::Install 0.87;
-
+BEGIN { # Make it easy for newbies
+    if ($Module::Install::AUTHOR) {
+        require Module::Install::AuthorRequires;
+        require Module::Install::CheckConflicts;
+    }
+}
 perl_version '5.008006';
 
 name 'Catalyst-Runtime';