From: William A. Rowe Jr Date: Thu, 23 Jun 2016 15:28:28 +0000 (+0000) Subject: Promote any static to a shared module if the required dependency is dynamic X-Git-Tag: 2.4.23~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e72ad60100902478f2ea9f73256c824d07d5cd7;p=thirdparty%2Fapache%2Fhttpd.git Promote any static to a shared module if the required dependency is dynamic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1749920 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index e26de5f1ee0..79e395e1e95 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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])