]> granicus.if.org Git - apache/commitdiff
Promote any static module to yes|shared if a required dependency is not static
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Jun 2016 15:42:30 +0000 (15:42 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Jun 2016 15:42:30 +0000 (15:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1749925 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index b0263edd74d5f8f803df1499db0f5ffd55b8b459..65db19340d7b246f735655e8c5ead23f96b9098a 100644 (file)
@@ -386,8 +386,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=$enable_[]prereq
+                              AC_MSG_WARN("building mod_$1 shared because mod_[]prereq is built shared")
                             el])se])
             ifelse([$6],,:,[  $6])
             ifelse([$7],,:,[fi])