You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2002/03/25 01:16:20 UTC
cvs commit: modperl/apaci load_modules.pl.PL
dougm 02/03/24 16:16:20
Modified: apaci load_modules.pl.PL
Log:
5.7.3+ File::Find croaks if the finddepth directory does not exist,
which it doesn't when building with USE_APXS=1
Revision Changes Path
1.4 +1 -1 modperl/apaci/load_modules.pl.PL
Index: load_modules.pl.PL
===================================================================
RCS file: /home/cvs/modperl/apaci/load_modules.pl.PL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- load_modules.pl.PL 7 Apr 1999 19:10:16 -0000 1.3
+++ load_modules.pl.PL 25 Mar 2002 00:16:20 -0000 1.4
@@ -40,7 +40,7 @@
}
return if $name =~ /(auth|autoindex|digest)/; #a few that screw make test
push @sh_mods, "LoadModule ${name}_module $full";
-}, $APACHE_SRC);
+}, $APACHE_SRC) if $APACHE_SRC and -d $APACHE_SRC;
my($perl_mod) = grep /perl/, @sh_mods;
unshift @sh_mods, $perl_mod; #must come before mod_include/USE_PERL_SSI