2002-03-07 Bruno Haible <bruno@clisp.org>
+ * lang-gawk: Fix the version recognition, to work with gawk 2.xx.
* lang-tcl: Skip the test if tcl exists but has no msgcat extension.
2002-03-05 Bruno Haible <bruno@clisp.org>
# Test for presence of gawk version 3.1.1 or newer.
(gawk --version) >/dev/null 2>/dev/null \
|| { echo "SKIP: lang-awk"; rm -fr $tmpfiles; exit 77; }
-case `gawk --version | sed -e 's/^[^0-9]*//'` in
+case `gawk --version 2>&1 | sed -e 's/^[^0-9]*//'` in
0.* | 1.* | 2.* | 3.0* | 3.1.0*)
echo "SKIP: lang-awk"; rm -fr $tmpfiles; exit 77;;
esac