[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r9213 - in /trunk/libc: ChangeLog.eglibc configure configure.in



Author: maxim
Date: Mon Nov  9 05:50:05 2009
New Revision: 9213

Log:
2009-11-09  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
	    Peter Seebach  <peter.seebach@xxxxxxxxxxxxx>

	* configure.in (AC_PROG_AWK): Require GNU `awk'.
	* configure: Regenerate.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/configure
    trunk/libc/configure.in

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Nov  9 05:50:05 2009
@@ -1,3 +1,9 @@
+2009-11-09  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
+	    Peter Seebach  <peter.seebach@xxxxxxxxxxxxx>
+
+	* configure.in (AC_PROG_AWK): Require GNU `awk'.
+	* configure: Regenerate.
+
 2009-11-09  Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxxxx>
 
 	* libio/fileops.c, libio/iosetbuffer.c,

Modified: trunk/libc/configure
==============================================================================
--- trunk/libc/configure (original)
+++ trunk/libc/configure Mon Nov  9 05:50:05 2009
@@ -5708,6 +5708,12 @@
   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

Modified: trunk/libc/configure.in
==============================================================================
--- trunk/libc/configure.in (original)
+++ trunk/libc/configure.in Mon Nov  9 05:50:05 2009
@@ -1089,6 +1089,11 @@
 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