You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/11/14 20:58:31 UTC
svn commit: r836253 - /httpd/mod_fcgid/trunk/configure.apxs
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