Author: stas
Date: Sat Dec 25 10:37:06 2004
New Revision: 123342

URL: http://svn.apache.org/viewcvs?view=rev&rev=123342
Log:
Test for module.c instead of module.so for IfModule in
find_and_load_module
Submitted by: Chia-Liang Kao <chialiang gmail.com>

Modified:
   httpd/test/trunk/perl-framework/Apache-Test/Changes
   httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm

Modified: httpd/test/trunk/perl-framework/Apache-Test/Changes
Url: 
http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/Apache-Test/Changes?view=diff&rev=123342&p1=httpd/test/trunk/perl-framework/Apache-Test/Changes&r1=123341&p2=httpd/test/trunk/perl-framework/Apache-Test/Changes&r2=123342
==============================================================================
--- httpd/test/trunk/perl-framework/Apache-Test/Changes (original)
+++ httpd/test/trunk/perl-framework/Apache-Test/Changes Sat Dec 25 10:37:06 2004
@@ -8,6 +8,9 @@
 
 =item 1.19-dev
 
+Test for module.c instead of module.so for IfModule in
+find_and_load_module [Chia-Liang Kao <chialiang gmail.com>]
+
 Apache-Test/META.yml is excluded from mp2 distro to make PAUSE indexer
 happy, but then perl Makefile.PL complains about a missing META.yml,
 so autogenerate it if it wasn't in the distro [Stas]

Modified: httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Url: 
http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm?view=diff&rev=123342&p1=httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm&r1=123341&p2=httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm&r2=123342
==============================================================================
--- httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm        
(original)
+++ httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfig.pm        
Sat Dec 25 10:37:06 2004
@@ -1218,7 +1218,7 @@
     my ($sym) = $name =~ m/mod_(\w+)\./;
 
     if ($mod_path && -e $mod_path) {
-        $self->preamble(IfModule => "!$name",
+        $self->preamble(IfModule => "!mod_$sym.c",
                         qq{LoadModule ${sym}_module "$mod_path"\n});
     }
     return 1;

Reply via email to