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 ge...@apache.org on 2007/03/23 20:02:06 UTC
svn commit: r521870 - in /perl/Apache-SizeLimit/trunk/t/conf: ./
modperl_extra.pl.in
Author: geoff
Date: Fri Mar 23 12:02:05 2007
New Revision: 521870
URL: http://svn.apache.org/viewvc?view=rev&rev=521870
Log:
add in modperl_extra.pl.in so make test passes for
mod_perl 1.0 based installs
Added:
perl/Apache-SizeLimit/trunk/t/conf/
perl/Apache-SizeLimit/trunk/t/conf/modperl_extra.pl.in
Added: perl/Apache-SizeLimit/trunk/t/conf/modperl_extra.pl.in
URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/conf/modperl_extra.pl.in?view=auto&rev=521870
==============================================================================
--- perl/Apache-SizeLimit/trunk/t/conf/modperl_extra.pl.in (added)
+++ perl/Apache-SizeLimit/trunk/t/conf/modperl_extra.pl.in Fri Mar 23 12:02:05 2007
@@ -0,0 +1,13 @@
+use strict;
+use warnings FATAL => qw(all);
+
+use File::Spec ();
+
+my $test = File::Spec->catfile('@ServerRoot@', qw(.. .. INSTALL.raven));
+
+if (-e $test) {
+ require lib;
+ lib->import(File::Spec->catfile('@ServerRoot@', qw(.. .. blib lib)));
+}
+
+1;