Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 97730 invoked from network); 14 Nov 2009 19:58:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Nov 2009 19:58:55 -0000 Received: (qmail 43655 invoked by uid 500); 14 Nov 2009 19:58:55 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 43586 invoked by uid 500); 14 Nov 2009 19:58:55 -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 43577 invoked by uid 99); 14 Nov 2009 19:58:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 19:58:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 19:58:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5A57B23888BD; Sat, 14 Nov 2009 19:58:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r836253 - /httpd/mod_fcgid/trunk/configure.apxs Date: Sat, 14 Nov 2009 19:58:31 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091114195831.5A57B23888BD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: trawick Date: Sat Nov 14 19:58:31 2009 New Revision: 836253 URL: http://svn.apache.org/viewvc?rev=836253&view=rev Log: use httpd's (AC_PROG_AWK) choice of awk instead of choosing one here /usr/xpg4/bin/awk isn't part of httpd's selection, but it isn't needed with current awk language use allow override with AWK envvar hint by wrowe, research by rjung PR: 48067 Modified: httpd/mod_fcgid/trunk/configure.apxs Modified: httpd/mod_fcgid/trunk/configure.apxs URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/configure.apxs?rev=836253&r1=836252&r2=836253&view=diff ============================================================================== --- httpd/mod_fcgid/trunk/configure.apxs (original) +++ httpd/mod_fcgid/trunk/configure.apxs Sat Nov 14 19:58:31 2009 @@ -40,17 +40,8 @@ rel_logfiledir=`$APXS -q exp_logfiledir | sed -e "s#^$rel_fix_prefix/##;"` httpd_conffile=`$APXS -q exp_sysconfdir`/`$APXS -q progname`.conf -echo "Selecting a suitable awk" -# find the most suitable awk, allowing user to override with AWK -for a in gawk mawk /usr/xpg4/bin/awk nawk; do - if test -z "$AWK"; then - if $a '{print}' <$0 >/dev/null 2>&1; then - AWK=$a - fi - fi -done if test -z "$AWK"; then - AWK=awk + AWK=`$APXS -q AWK` fi for i in Makefile build/Makefile modules/fcgid/Makefile modules/fcgid/modules.mk; do