summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2003-05-15 08:30:27 +0200
committerAaron Bannert <aaron@apache.org>2003-05-15 08:30:27 +0200
commit5548c16cd8cdec5612389fd80d13669768547028 (patch)
tree294e6362bd4b5a38cd58f14c4398b6c61fd5e5de /modules
parentMy thoughts on mod_cache being non-experimental. (diff)
downloadapache2-5548c16cd8cdec5612389fd80d13669768547028.tar.xz
apache2-5548c16cd8cdec5612389fd80d13669768547028.zip
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
Diffstat (limited to 'modules')
-rw-r--r--modules/mappers/config9.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4
index d4401cdbfa..0f0722e85e 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])