This one fixes an "Undefined value" warning in Makefile.PL, when apxs is not
present on Win32.
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 239256)
+++ Makefile.PL (working copy)
@@ -391,11 +391,15 @@
if ($build->is_dynamic) {
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";
+ " LoadModule perl_module modules/$build->{MODPERL_LIB_DSO}";
+
+ if($build->{MP_APXS}) {
+ warning "",
+ "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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]