X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=08b48ba5c6a369b31d7353c73b32ae29370c449a;hb=91d4abc5cc6b75fb46cef7aac04f3cb58f6b3551;hp=1ac3dc760e1ca98ec7ad08096db3ade20a912284;hpb=c664a7e56564c0dc035f31ed900aa697f2e079e4;p=catagits%2FCatalyst-Runtime.git diff --git a/Build.PL b/Build.PL index 1ac3dc7..08b48ba 100644 --- a/Build.PL +++ b/Build.PL @@ -7,16 +7,16 @@ 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, 'HTTP::Headers' => 1.59, 'HTTP::Request' => 0, 'HTTP::Response' => 0, - 'JSAN' => 0, 'LWP::UserAgent' => 0, 'MIME::Types' => 0, 'Module::Pluggable::Fast' => 0.16, @@ -30,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/*') ], @@ -53,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: ***