X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=08b48ba5c6a369b31d7353c73b32ae29370c449a;hb=d54484bfe5854092f3f1e8454c447569854d8df5;hp=e7b5ba0ce0ec7ed86aa7b7ec2c7936b2c0dc7f6c;hpb=915d98de77e7ca8e209e3ccc608148edcd45c2f5;p=catagits%2FCatalyst-Runtime.git diff --git a/Build.PL b/Build.PL index e7b5ba0..08b48ba 100644 --- a/Build.PL +++ b/Build.PL @@ -7,9 +7,10 @@ my $build = Module::Build->new( module_name => 'Catalyst', requires => { 'perl' => '5.8.1', - 'UNIVERSAL::require' => 0, + 'UNIVERSAL::require' => "0.10", 'Class::Accessor::Fast' => 0, 'Class::Data::Inheritable' => 0, + 'Class::Inspector' => 0, 'CGI::Cookie' => 0, 'HTML::Entities' => 0, 'HTTP::Body' => 0.03, @@ -29,7 +30,8 @@ my $build = Module::Build->new( 'Tree::Simple::Visitor::FindByPath' => 0, 'URI' => 1.35, }, - recommends => { 'Catalyst::Engine::Apache' => 0, }, + recommends => + { 'Catalyst::Engine::Apache' => 0, FCGI => 0, 'FCGI::ProcManager' => 0 }, create_makefile_pl => 'passthrough', create_readme => 1, script_files => [ glob('script/*') ], @@ -52,7 +54,15 @@ print( print( '*' x 80, "\n" ); eval "use FCGI"; -print qq/Install "FCGI" for FastCGI support.\n/ if $@; +if ($@) { + print qq/Install "FCGI" for FastCGI support.\n/; +} +else { + eval "use FCGI::ProcManager"; + print +qq/Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ + if ($@); +} print qq/ *** IMPORTANT NOTE: ***