summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authormaxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-11-09 13:50:05 +0000
committermaxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-11-09 13:50:05 +0000
commitdd67338f78d03d7cad1ce5342227c86f1d7f32bb (patch)
tree249d26c9fd2fe9cf70f0a6b3172955ecd04c4d0d /libc
parent003c98538d9058a5b5b55b8a43707a6c315ffb2b (diff)
downloadeglibc2-dd67338f78d03d7cad1ce5342227c86f1d7f32bb.tar.gz
2009-11-09 Maxim Kuvyrkov <maxim@codesourcery.com>
Peter Seebach <peter.seebach@windriver.com> * configure.in (AC_PROG_AWK): Require GNU `awk'. * configure: Regenerate. git-svn-id: svn://svn.eglibc.org/trunk@9213 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc')
-rw-r--r--libc/ChangeLog.eglibc6
-rwxr-xr-xlibc/configure6
-rw-r--r--libc/configure.in5
3 files changed, 17 insertions, 0 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index 3329b1c81..1cbffd28f 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,4 +1,10 @@
2009-11-09 Maxim Kuvyrkov <maxim@codesourcery.com>
+ Peter Seebach <peter.seebach@windriver.com>
+
+ * configure.in (AC_PROG_AWK): Require GNU `awk'.
+ * configure: Regenerate.
+
+2009-11-09 Maxim Kuvyrkov <maxim@codesourcery.com>
* libio/fileops.c, libio/iosetbuffer.c,
* nptl/sysdeps/pthread/small-macros-fns.c, posix/fnmatch_loop.c,
diff --git a/libc/configure b/libc/configure
index 55bc3e037..937910643 100755
--- a/libc/configure
+++ b/libc/configure
@@ -5708,6 +5708,12 @@ fi
test -n "$AWK" && break
done
+if test "x$AWK" != "xgawk"; then
+ { { $as_echo "$as_me:$LINENO: error: GLIBC requires GNU awk." >&5
+$as_echo "$as_me: error: GLIBC requires GNU awk." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
diff --git a/libc/configure.in b/libc/configure.in
index 301e4fcf4..39011d66b 100644
--- a/libc/configure.in
+++ b/libc/configure.in
@@ -1089,6 +1089,11 @@ fi
AC_SUBST(libc_cv_have_ksh)
AC_PROG_AWK
+dnl We need gawk for at least gen-sorted.awk and option-groups.awk.
+if test "x$AWK" != "xgawk"; then
+ AC_MSG_ERROR([GLIBC requires GNU awk.])
+fi
+
AC_PATH_PROG(PERL, perl, no)
if test "$PERL" != no &&
(eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then