forked from pool/autoconf
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
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>.
|
|
|
|
Index: lib/autoconf/programs.m4
|
|
===================================================================
|
|
RCS file: /sources/autoconf/autoconf/lib/autoconf/programs.m4,v
|
|
retrieving revision 1.63
|
|
retrieving revision 1.64
|
|
diff -u -a -p -u -p -a -r1.63 -r1.64
|
|
--- lib/autoconf/programs.m4 17 Nov 2006 21:04:54 -0000 1.63
|
|
+++ lib/autoconf/programs.m4 11 Jan 2007 21:17:37 -0000 1.64
|
|
@@ -859,7 +859,7 @@ AC_DEFUN([AC_PROG_SED],
|
|
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],
|