Blow up if we're in author mode and don't have the right M::I extensions
Tomas Doran [Fri, 7 Aug 2009 00:24:17 +0000 (00:24 +0000)]
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';