summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-09-02 09:30:18 +1000
committerAllan McRae <allan@archlinux.org>2012-09-02 09:30:18 +1000
commit0786794f3a9d03040284c7d59d820de6f41e901c (patch)
treef4f4a1f70b7f1ab5a50e73b5e6d438d68e80bec9 /configure.in
parent26889eacc24cd9f0cb37c5a67beac1a0ba709adf (diff)
downloadglibc-0786794f3a9d03040284c7d59d820de6f41e901c.tar.gz
Check for gawk >= 3.0 (bug 13412)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a5d9dea118..7de4b093d4 100644
--- a/configure.in
+++ b/configure.in
@@ -926,6 +926,9 @@ AC_CHECK_PROG_VER(SED, sed, --version,
[GNU sed[^0-9]* \([0-9]*\.[0-9.]*\)],
[3.0[2-9]*|3.[1-9]*|[4-9]*],
SED=: aux_missing="$aux_missing sed")
+AC_CHECK_PROG_VER(AWK, gawk, --version,
+ [GNU Awk[^0-9]*\([0-9][0-9.]*\)],
+ [[3-9].*], critic_missing="$critic_missing gawk")
AC_CHECK_TOOL(READELF, readelf, false)
AC_CHECK_TOOL(NM, nm, false)
@@ -1043,7 +1046,6 @@ else
fi
AC_SUBST(libc_cv_have_ksh)
-AC_PROG_AWK
AC_PATH_PROG(PERL, perl, no)
if test "$PERL" != no &&
(eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then