https://bz.apache.org/bugzilla/show_bug.cgi?id=55711

--- Comment #3 from Rich Bowen <[email protected]> ---
Confirmed this is still present in trunk and 2.4.

The issue is in acinclude.m4 in the APACHE_MODULE macro.
When a module is built as a DSO, the code that decides whether
to uncomment the LoadModule line checks $5 (the module's
default, e.g. "most" for mod_rewrite), not whether the user
explicitly enabled it. So --enable-rewrite builds the module
but never adds it to ENABLED_DSO_MODULES — the LoadModule
line stays commented out. Every module whose default is not
"yes" is affected.

I think the fix is:

--- a/acinclude.m4
+++ b/acinclude.m4
@@ -418,1 +418,2 @@
-      if test "$5" = "yes" ; then
+      if test "$5" = "yes" -o \
+              "$force_$1" = "yes" -o "$force_$1" = "shared" ; then

force_$1 is set by AC_ARG_ENABLE when the user passes
--enable-foo. In the generated configure script, $1 expands
to the module name, so e.g. $force_rewrite.

Same change needed in both trunk (line 418) and 2.4 (line 398).

But I'm the docs guy, not the build system guy — someone who
knows this code better should sanity-check before applying.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to