From: William A. Rowe Jr Date: Thu, 23 Jun 2016 15:31:00 +0000 (+0000) Subject: Revert r1749920, meant to apply this to trunk/ X-Git-Tag: 2.4.23~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f019ee131fd424857a32ee7aa6fa26cf64f09d43;p=apache Revert r1749920, meant to apply this to trunk/ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1749922 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 79e395e1e9..e26de5f1ee 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=shared - AC_MSG_WARN("building mod_$1 shared because mod_[]prereq is built shared") + enable_$1=no + AC_MSG_WARN("cannot build mod_$1 statically if mod_[]prereq is built shared") el])se]) ifelse([$6],,:,[ $6]) ifelse([$7],,:,[fi]) diff --git a/modules/core/config.m4 b/modules/core/config.m4 index 8bb39a5cb2..94fb4a1248 100644 --- a/modules/core/config.m4 +++ b/modules/core/config.m4 @@ -45,7 +45,7 @@ fi APACHE_MODULE(so, DSO capability. This module will be automatically enabled unless you build all modules statically., , , $enable_so) -APACHE_MODULE(watchdog, Watchdog module, , , , [ +APACHE_MODULE(watchdog, Watchdog module, , , most, [ APR_CHECK_APR_DEFINE(APR_HAS_THREADS) if test $ac_cv_define_APR_HAS_THREADS = "no"; then AC_MSG_WARN([mod_watchdog requires apr to be built with --enable-threads])