summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2012-02-12 13:39:10 +0100
committerShaun McCance <shaunm@gnome.org>2012-02-20 11:45:54 -0500
commit6f2356446ce7da8d6ecdcf10f4dd3aef4eddf33f (patch)
treea78f43fb1d89e08032d73fab3d77f6e306d16a3c
parent0a01dbb1627355fcd1c7d05fa6ba133b1ec655d3 (diff)
downloadgnome-doc-utils-6f2356446ce7da8d6ecdcf10f4dd3aef4eddf33f.tar.gz
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
-rw-r--r--configure.in4
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