diff options
author | maxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-11-09 13:50:05 +0000 |
---|---|---|
committer | maxim <maxim@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-11-09 13:50:05 +0000 |
commit | dd67338f78d03d7cad1ce5342227c86f1d7f32bb (patch) | |
tree | 249d26c9fd2fe9cf70f0a6b3172955ecd04c4d0d /libc | |
parent | 003c98538d9058a5b5b55b8a43707a6c315ffb2b (diff) | |
download | eglibc2-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.eglibc | 6 | ||||
-rwxr-xr-x | libc/configure | 6 | ||||
-rw-r--r-- | libc/configure.in | 5 |
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 |