Hello,
On Wed, Mar 28, 2007 at 12:52:29PM +0200, Andreas Schwab wrote:
> The test of AC_PROG_SED can lead to a spurious testsuite failure:
..
> +./configure: line 1682: echo: write error: Broken pipe
that line says:
echo "$ac_script" | sed 99q >conftest.sed
The bug seems to be fixed in the current development version, as it
is changed to
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
The relates changelog entry is:
2007-01-11 Ralf Wildenhues <[EMAIL PROTECTED]>
* 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
<[EMAIL PROTECTED]> and Sam Sexton <[EMAIL PROTECTED]>.
BTW, could the same have been achieved by the following?
sed 99q >conftest.sed <<_ACEOF
$ac_script
_ACEOF
Have a nice day,
Stepan Kasal