httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm
Date Fri, 04 Apr 2003 00:28:37 GMT
stas        2003/04/03 16:28:37

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  make sure not to include 'use Apache2' for the mod_perl build itself
  
  Revision  Changes    Path
  1.149     +3 -1      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.148
  retrieving revision 1.149
  diff -u -r1.148 -r1.149
  --- TestConfig.pm	27 Mar 2003 07:57:06 -0000	1.148
  +++ TestConfig.pm	4 Apr 2003 00:28:37 -0000	1.149
  @@ -113,7 +113,9 @@
   sub server { shift->{server} }
   
   sub modperl_2_inc_fixup {
  -    (eval { require mod_perl } && $mod_perl::VERSION >= 1.99)
  +
  +    (eval { require mod_perl } && $mod_perl::VERSION >= 1.99 &&
  +     eval { require Apache::Build } && !Apache::Build::IS_MOD_PERL_BUILD())
           ? "use Apache2;\n" 
           : '';
   }
  
  
  

Mime
View raw message