Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 24031 invoked by uid 500); 20 May 2002 21:24:05 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 24019 invoked by uid 500); 20 May 2002 21:24:05 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 20 May 2002 21:24:04 -0000 Message-ID: <20020520212404.9905.qmail@icarus.apache.org> From: jwoolley@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/http config2.m4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jwoolley 02/05/20 14:24:04 Modified: modules/http config2.m4 Log: ./configure --enable-http --enable-mods-shared=most would cause mod_http to get built as a DSO, which it can't be. This forces it to be static only. PR: 9244 Submitted by: Cliff Woolley, and simultaneously by Robin Johnson Revision Changes Path 1.3 +10 -1 httpd-2.0/modules/http/config2.m4 Index: config2.m4 =================================================================== RCS file: /home/cvs/httpd-2.0/modules/http/config2.m4,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -u -r1.2 -r1.3 --- config2.m4 3 Oct 2001 17:47:51 -0000 1.2 +++ config2.m4 20 May 2002 21:24:04 -0000 1.3 @@ -4,7 +4,16 @@ http_objects="http_core.lo http_protocol.lo http_request.lo" -dnl mod_http freaks out when built as a DSO +dnl mod_http should only be built as a static module for now. +dnl this will hopefully be "fixed" at some point in the future by +dnl refactoring mod_http and moving some things to the core and +dnl vice versa so that the core does not depend upon mod_http. +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 + APACHE_MODULE(http, HTTP protocol handling, $http_objects, , static) APACHE_MODULE(mime, mapping of file-extension to MIME, , , yes)