]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Promote any static to a shared module if the required dependency is dynamic
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Jun 2016 15:28:28 +0000 (15:28 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Jun 2016 15:28:28 +0000 (15:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1749920 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index e26de5f1ee07bddfaaf367ebe1bcb34146e7797d..79e395e1e95c20b6bf9307fd1c8e8e29855daa5e 100644 (file)
@@ -365,8 +365,8 @@ AC_DEFUN([APACHE_MODULE],[
                               enable_$1=no
                               AC_MSG_WARN("mod_[]prereq is disabled but required for mod_$1")
                             elif test "$enable_$1" = "static" && test "$enable_[]prereq" != "static" ; then
-                              enable_$1=no
-                              AC_MSG_WARN("cannot build mod_$1 statically if mod_[]prereq is built shared")
+                              enable_$1=shared
+                              AC_MSG_WARN("building mod_$1 shared because mod_[]prereq is built shared")
                             el])se])
             ifelse([$6],,:,[  $6])
             ifelse([$7],,:,[fi])