[not sure if this made it through to the list first time; resent]
Renamed modules are causing me to lose hair again; would it be OK to do
something like the below, so a call like have_module("proxy_http.c")
will succeed if either a module named either "proxy_http.c" or
"mod_proxy_http.c" is loaded?
Index: Test.pm
===================================================================
--- Test.pm (revision 153211)
+++ Test.pm (working copy)
@@ -282,6 +282,7 @@
$mod .= '.c'
}
next if $cfg->{modules}->{$mod};
+ next if $cfg->{modules}->{'mod_' . $mod };
if (exists $cfg->{cmodules_disabled}->{$mod}) {
push @reasons, $cfg->{cmodules_disabled}->{$mod};
next;