X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=08b48ba5c6a369b31d7353c73b32ae29370c449a;hb=91d4abc5cc6b75fb46cef7aac04f3cb58f6b3551;hp=0c29696f5eb217536e014ccb1da497d33b414b98;hpb=a9b789391bb4098d5f13c878d99e09ae71cd4f89;p=catagits%2FCatalyst-Runtime.git diff --git a/Build.PL b/Build.PL index 0c29696..08b48ba 100644 --- a/Build.PL +++ b/Build.PL @@ -7,12 +7,13 @@ 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, + 'HTTP::Body' => 0.03, 'HTTP::Headers' => 1.59, 'HTTP::Request' => 0, 'HTTP::Response' => 0, @@ -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: ***