From: Aaron Bannert Date: Thu, 15 May 2003 06:30:27 +0000 (+0000) Subject: mod_so can only be built statically. If the user wants modules to X-Git-Tag: pre_ajp_proxy~1696 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5548c16cd8cdec5612389fd80d13669768547028;p=thirdparty%2Fapache%2Fhttpd.git mod_so can only be built statically. If the user wants modules to be built as DSOs by default (eg. ./configure --enable-mods-shared=most) then we must override the default, otherwise none of the modules will end up being installed (even though they'll get built). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99844 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index f02a431bc46..fc197abb4fe 100644 --- a/CHANGES +++ b/CHANGES @@ -153,6 +153,8 @@ Changes with Apache 2.0.46 when folding is in effect. PR 18170 [Peter Mayne ] + *) Fix --enable-mods-shared=most and other variants. [Aaron Bannert] + *) mod_log_config: Add the ability to log the id of the thread processing the request via new %P formats. [Jeff Trawick] diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 index d4401cdbfa7..0f0722e85e3 100644 --- a/modules/mappers/config9.m4 +++ b/modules/mappers/config9.m4 @@ -34,6 +34,13 @@ case "x$enable_so" in ;; esac +dnl mod_so can only be built statically. If the user wants modules to +dnl be built as DSOs by default (eg. ./configure --enable-mods-shared=most) +dnl then we must override the default here. +if test "x$enable_so" = "xyes"; then + enable_so="static" +fi + if test "$sharedobjs" = "yes"; then if test $ac_cv_define_APR_HAS_DSO = "no"; then AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so cannot be built])