From: Akim Demaille Date: Sat, 25 Mar 2000 09:17:40 +0000 (+0000) Subject: * autoconf.sh (translate_awk): `> "/dev/stderr"' is not portable X-Git-Tag: autoconf-2.50~996 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b6a9f36ba0a873d18cd9cec09c1069c4f504835;p=thirdparty%2Fautoconf.git * autoconf.sh (translate_awk): `> "/dev/stderr"' is not portable to systems without a real /dev/stderr in the file system or if not using one of the three free awks. Use print message | "cat >&2" ... END { close("cat >&2") } From Aharon Robbins. --- diff --git a/ChangeLog b/ChangeLog index ed5b9696a..e962ffe2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2000-03-25 Akim Demaille + + * autoconf.sh (translate_awk): `> "/dev/stderr"' is not portable + to systems without a real /dev/stderr in the file system or if not + using one of the three free awks. Use + print message | "cat >&2" + ... + END { close("cat >&2") } + From Aharon Robbins. + 2000-03-25 Akim Demaille * autoheader.sh (checking completeness): Be ready to recognize diff --git a/autoconf.in b/autoconf.in index ccfaf8054..bc329ff04 100644 --- a/autoconf.in +++ b/autoconf.in @@ -352,7 +352,7 @@ function trans (arg, sep) function error (message) { - print message >"/dev/stderr" + print message | "cat >&2" exit 1 } @@ -409,6 +409,7 @@ END { res = res char } print res + close("cat >&2") } EOF # Extract both the m4 program and the m4 options from TRACES. diff --git a/autoconf.sh b/autoconf.sh index ccfaf8054..bc329ff04 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -352,7 +352,7 @@ function trans (arg, sep) function error (message) { - print message >"/dev/stderr" + print message | "cat >&2" exit 1 } @@ -409,6 +409,7 @@ END { res = res char } print res + close("cat >&2") } EOF # Extract both the m4 program and the m4 options from TRACES. diff --git a/bin/autoconf.in b/bin/autoconf.in index ccfaf8054..bc329ff04 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -352,7 +352,7 @@ function trans (arg, sep) function error (message) { - print message >"/dev/stderr" + print message | "cat >&2" exit 1 } @@ -409,6 +409,7 @@ END { res = res char } print res + close("cat >&2") } EOF # Extract both the m4 program and the m4 options from TRACES.