PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) configure: Simplify, and correct dependency handling of mod_proxy_hcheck
- trunk patch: http://svn.apache.org/r1749659
- http://svn.apache.org/r1749678
- 2.4.x: trunk patch works
- http://apaste.info/iyv
- +1: wrowe, jim, rpluem
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
proxy_mods_enable=most
fi
-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
-if test -z "$enable_proxy_hcheck" ; then
- enable_proxy_hcheck="$proxy_mods_enable"
-fi
-
proxy_objs="mod_proxy.lo proxy_util.lo"
APACHE_MODULE(proxy, Apache proxy module, $proxy_objs, , $proxy_mods_enable)
APACHE_MODULE(proxy_balancer, Apache proxy BALANCER module. Requires and is enabled by --enable-proxy., $proxy_balancer_objs, , $proxy_mods_enable,, proxy)
APACHE_MODULE(proxy_express, mass reverse-proxy module. Requires --enable-proxy., , , $proxy_mods_enable,, proxy)
-APACHE_MODULE(proxy_hcheck, reverse-proxy health-check module. Requires --enable-proxy and --enable-watchdog., , , $enable_proxy_hcheck,, watchdog)
+APACHE_MODULE(proxy_hcheck, [reverse-proxy health-check module. Requires --enable-proxy and --enable-watchdog.], , ,[
+ $proxy_mods_enable
+ dnl Verify that both proxy_mods_enable above and watchdog below are enabled
+ dnl when --enable-proxy-hcheck isn't explicitly elected
+ if test "$enable_watchdog" = "no"; then
+ enable_proxy_hcheck="";
+ fi
+], , [proxy,watchdog])
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])