]> granicus.if.org Git - apache/commitdiff
mod_so can only be built statically. If the user wants modules to
authorAaron Bannert <aaron@apache.org>
Thu, 15 May 2003 06:30:27 +0000 (06:30 +0000)
committerAaron Bannert <aaron@apache.org>
Thu, 15 May 2003 06:30:27 +0000 (06:30 +0000)
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

CHANGES
modules/mappers/config9.m4

diff --git a/CHANGES b/CHANGES
index f02a431bc46fa89e2a573d9006e3bc5eab57319c..fc197abb4fe080e7a71e24a5a0faa1647b06a060 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -153,6 +153,8 @@ Changes with Apache 2.0.46
      when folding is in effect.
      PR 18170 [Peter Mayne <PeterMayne@SPAM_SUX.ap.spherion.com>]
 
+  *) 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]
 
index d4401cdbfa7f72b21fe759b1aec7c09d2d0e180d..0f0722e85e38da99ae5cb8c8f3cbae5bee8ecc74 100644 (file)
@@ -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])