perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/t/response/TestAPI module.pm
Date Fri, 07 May 2004 01:47:13 GMT
stas        2004/05/06 18:47:13

  Modified:    t/response/TestAPI module.pm
  Log:
  USE_(STATIC|DSO) can be both set at the same time, try MODPERL_LIB_SHARED
  
  Revision  Changes    Path
  1.11      +5 -4      modperl-2.0/t/response/TestAPI/module.pm
  
  Index: module.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/response/TestAPI/module.pm,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- module.pm	6 May 2004 22:23:09 -0000	1.10
  +++ module.pm	7 May 2004 01:47:13 -0000	1.11
  @@ -86,11 +86,12 @@
   
       #.so
       {
  -    my $expect = Apache::BuildConfig->new->{MP_USE_STATIC} ? 0 : 1;
  -    ok t_cmp($expect, Apache::Module::loaded('mod_perl.so'),
  -             "Apache::Module::loaded('mod_perl.so')");
  +        my $build = Apache::BuildConfig->new;
  +        my $expect = $build->{MODPERL_LIB_SHARED} ? 1 : 0;
  +        ok t_cmp($expect, Apache::Module::loaded('mod_perl.so'),
  +                 "Apache::Module::loaded('mod_perl.so')");
       }
  -    
  +
       ok t_cmp(0, Apache::Module::loaded('Apache__Module__foo.so'),
                "Apache::Module::loaded('Apache__Module_foo.so')");
   
  
  
  

Mime
View raw message