On 06/21/2016 05:39 PM, William A Rowe Jr wrote:
> Just retested on 2.4.x branch, better but still problematic...
> 
> "../../httpd-2.4/configure" \
> "--prefix=/opt/apache24-apr15-ossl102" \
> "--with-apr=/opt/apr15-ossl102" \
> "--with-apr-util=/opt/apr15-ossl102" \
> "--enable-watchdog=no" \
> "--enable-proxy=yes"
> 
> checking whether to enable mod_proxy_hcheck... checking dependencies
> configure: WARNING: "mod_watchdog is disabled but required for 
> mod_proxy_hcheck"
> configure: error: mod_proxy_hcheck has been requested but can not be built 
> due to prerequisite failures
> checking whether to enable mod_proxy_hcheck... 
> <abort>


Would that suit better (against current 2.4.x):

Index: config.m4
===================================================================
--- config.m4   (revision 1749588)
+++ config.m4   (working copy)
@@ -13,9 +13,17 @@
 if test "$proxy_mods_enable" = "no"; then
   enable_proxy_hcheck=no
 fi
-dnl If enable_proxy_hcheck is unset handle it like other proxy modules
+dnl If enable_proxy_hcheck is unset handle it like other proxy modules if
+dnl it is able to disable itself. If not do not enable it.
 if test -z "$enable_proxy_hcheck" ; then
-  enable_proxy_hcheck="$proxy_mods_enable"
+  case "$proxy_mods_enable" in
+    yes|static|shared)
+      enable_proxy_hcheck=no
+      ;;
+    *)
+      enable_proxy_hcheck="$proxy_mods_enable"
+      ;;
+  esac
 fi

 proxy_objs="mod_proxy.lo proxy_util.lo"



Regards

Rüdiger

Reply via email to