[gnome-doc-utils] Use the gawk --traditional option instead of -W compat
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-doc-utils] Use the gawk --traditional option instead of -W compat
- Date: Mon, 20 Feb 2012 17:10:30 +0000 (UTC)
commit 6f2356446ce7da8d6ecdcf10f4dd3aef4eddf33f
Author: Hib Eris <hib hiberis nl>
Date: Sun Feb 12 13:39:10 2012 +0100
Use the gawk --traditional option instead of -W compat
With gawk 4.0.0 the -W compat option is no longer available.
The --traditional option is supported at least since gawk 3.0.0.
https://bugzilla.gnome.org/show_bug.cgi?id=670067
configure.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 9708e17..ecc4361 100644
--- a/configure.in
+++ b/configure.in
@@ -7,11 +7,11 @@ AC_CONFIG_MACRO_DIR([m4])
dnl In the interest of portability, we don't use GNU awk extensions,
dnl even though they rule. To prevent accidental use and subsequent
-dnl bug reports after busted tarballs were shipped, we use -W compat
+dnl bug reports after busted tarballs were shipped, we use --traditional
dnl whenever our awk is gawk.
AC_PROG_AWK
if test x$AWK = xgawk; then
- GDU_AWK='gawk -W compat';
+ GDU_AWK='gawk --traditional';
else
GDU_AWK=$AWK;
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]