Blow up if we're in author mode and don't have the right M::I extensions
[catagits/Catalyst-Runtime.git] / Makefile.PL
index 6e8fcc7..db9d2df 100644 (file)
@@ -1,6 +1,13 @@
+use strict;
+use warnings;
 use inc::Module::Install 0.87;
-
-perl_version '5.008001';
+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';
 all_from 'lib/Catalyst/Runtime.pm';