early on the reader side, drop stderr of the input to avoid
`broken pipe' error output; this may happen even with shell
builtin `echo' of some bash versions. Reports by Ian Macdonald
<iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
+2007-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
+ early on the reader side, drop stderr of the input to avoid
+ `broken pipe' error output; this may happen even with shell
+ builtin `echo' of some bash versions. Reports by Ian Macdonald
+ <iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
+
2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
- echo "$ac_script" | sed 99q >conftest.sed
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
$as_unset ac_script || ac_script=
_AC_PATH_PROG_FEATURE_CHECK(SED, [sed gsed],
[_AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED],