d7078f68cdc31f659a5f5d61fd2bfa0044b7b7be
[gitmo/Class-C3.git] / Makefile.PL
1 use inc::Module::Install;
2
3 name           'Class-C3';
4 all_from       'lib/Class/C3.pm';
5
6 # Class::C3 under 5.9.5+ has no deps
7 if($] < 5.009_005) {
8     build_requires 'Test::More'    => '0.47';
9
10     feature 'XS Speedups',
11         ($] < 5.009_005 ? ('Class::C3::XS' => '0.02') : ());
12
13     # Would like to disable these if they answer yes above too ...
14     requires 'Algorithm::C3' => '0.06';
15     requires 'Scalar::Util'  => '1.10';
16 }
17
18 auto_install;
19 WriteAll;