Author: geoff Date: Mon Jul 25 08:18:30 2005 New Revision: 225132 URL: http://svn.apache.org/viewcvs?rev=225132&view=rev Log: make LoadModule warning a bit clearer
Modified: perl/modperl/trunk/Makefile.PL Modified: perl/modperl/trunk/Makefile.PL URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/Makefile.PL?rev=225132&r1=225131&r2=225132&view=diff ============================================================================== --- perl/modperl/trunk/Makefile.PL (original) +++ perl/modperl/trunk/Makefile.PL Mon Jul 25 08:18:30 2005 @@ -389,9 +389,13 @@ } if ($build->is_dynamic) { - my $dir = $build->{APXS_LIBEXECDIR} || 'modules'; - warning "You'll need to add the following to httpd.conf:", - "LoadModule perl_module $dir/$build->{MODPERL_LIB_DSO}\n"; + warning + "You'll need to add the following to httpd.conf:", "", + " LoadModule perl_module modules/$build->{MODPERL_LIB_DSO}", "", + "depending on your build, mod_perl might not live in", + "the modules/ directory - check the results of", "", + " \$ $build->{MP_APXS} -q LIBEXECDIR", "", + "and adjust the LoadModule directive accordingly.\n"; } $build->save;