httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9244] - --enable-http --enable-mods-shared=most causes link failure
Date Mon, 20 May 2002 20:43:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9244>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9244

--enable-http --enable-mods-shared=most causes link failure





------- Additional Comments From robbat2@orbis-terrarum.net  2002-05-20 20:43 -------
Here is a patch that seems to work for me:
It is patterned after a similar fragment for the mod_so DSO.

--- httpd-2.0.36/modules/http/config2.m4        Wed Oct  3 10:47:51 2001
+++ httpd-2.0.36-new/modules/http/config2.m4    Mon May 20 13:14:41 2002
@@ -4,8 +4,15 @@

 http_objects="http_core.lo http_protocol.lo http_request.lo"

+dnl mod_http should only be built as a static DSO
+if test "$enable_http" = "yes"; then
+    enable_http="static"
+elif test "$enable_http" = "shared"; then
+    AC_MSG_ERROR([mod_http can not be built as a shared DSO])
+fi
+
 dnl mod_http freaks out when built as a DSO
-APACHE_MODULE(http, HTTP protocol handling, $http_objects, , static)
+APACHE_MODULE(http, HTTP protocol handling, $http_objects, , $enable_http)
 APACHE_MODULE(mime, mapping of file-extension to MIME, , , yes)

 APACHE_MODPATH_FINISH

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message