summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2016-06-29 17:29:43 +0000
committerJim Jagielski <jim@apache.org>2016-06-29 17:29:43 +0000
commite430837f5dda29ed19d1f01250822bad51f6aea0 (patch)
tree777415059d211a1ae46d3c9fd3735b9898c336f6 /acinclude.m4
parent53d722de0d6352b88232b03be7822291b9f4b426 (diff)
downloadhttpd-e430837f5dda29ed19d1f01250822bad51f6aea0.tar.gz
Merge r1749925 from trunk:
Promote any static module to yes|shared if a required dependency is not static Submitted by: wrowe Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1750683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 866264fcc3..6d8dcb019b 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -372,8 +372,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])