Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EF8CD200B27 for ; Wed, 22 Jun 2016 14:23:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EE443160A35; Wed, 22 Jun 2016 12:23:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 430CF160A2E for ; Wed, 22 Jun 2016 14:23:39 +0200 (CEST) Received: (qmail 38055 invoked by uid 500); 22 Jun 2016 12:23:38 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 38042 invoked by uid 99); 22 Jun 2016 12:23:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 12:23:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0589EC1289 for ; Wed, 22 Jun 2016 12:23:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.429 X-Spam-Level: X-Spam-Status: No, score=-0.429 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.429] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id W98FjnZrzMLw for ; Wed, 22 Jun 2016 12:23:35 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 7B80F5F4E3 for ; Wed, 22 Jun 2016 12:23:35 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B9CFAE021C for ; Wed, 22 Jun 2016 12:23:34 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id B9D443A0056 for ; Wed, 22 Jun 2016 12:23:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1749659 - /httpd/httpd/trunk/modules/proxy/config.m4 Date: Wed, 22 Jun 2016 12:23:34 -0000 To: cvs@httpd.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160622122334.B9D443A0056@svn01-us-west.apache.org> archived-at: Wed, 22 Jun 2016 12:23:40 -0000 Author: wrowe Date: Wed Jun 22 12:23:34 2016 New Revision: 1749659 URL: http://svn.apache.org/viewvc?rev=1749659&view=rev Log: Simplify, and correct the dependency handling of mod_proxy_hcheck Modified: httpd/httpd/trunk/modules/proxy/config.m4 Modified: httpd/httpd/trunk/modules/proxy/config.m4 URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/config.m4?rev=1749659&r1=1749658&r2=1749659&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/config.m4 (original) +++ httpd/httpd/trunk/modules/proxy/config.m4 Wed Jun 22 12:23:34 2016 @@ -10,14 +10,6 @@ else 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) @@ -76,7 +68,14 @@ APACHE_MODULE(serf, [Reverse proxy modul ]) 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=no; + fi +], , [proxy,watchdog]) APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])