load mro.pm under 5.9.5+, since next::method, etc will have to move there
[gitmo/MRO-Compat.git] / Makefile.PL
index cf8bc11..5878ada 100644 (file)
@@ -1,13 +1,13 @@
 use inc::Module::Install;
 
-name           '';
-all_from       'lib/mro.pm';
+name           'MRO-Compat';
+all_from       'lib/MRO/Compat.pm';
 
 build_requires 'Test::More'    => '0.47';
 
-if($] > 5.009_004) {
-    warn "*** There is no good reason to install this module on Perl version 5.9.5 or higher ***";
-    # XXX can I prevent M::I from installing mro.pm in this case?
+if($] < 5.009_005) {
+    feature 'XS Speedups', 'Class::C3::XS' => '0.04';
+    requires       'Class::C3'     => '0.18';
 }
 
 auto_install;