From: Paolo Bonzini Date: Thu, 25 Dec 2003 15:43:01 +0000 (+0000) Subject: 2003-12-03 Paolo Bonzini X-Git-Tag: AUTOCONF-2.59c~778 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=063d705adf6b4cb012f7caec599f5c3ba4952888;p=thirdparty%2Fautoconf.git 2003-12-03 Paolo Bonzini * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect stderr to /dev/null. * bin/autoconf.in: Regenerate. * bin/wrapper.in: Regenerate. --- diff --git a/ChangeLog b/ChangeLog index 0fbd6451c..993b024ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-12-03 Paolo Bonzini + + * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect + stderr to /dev/null. + * bin/autoconf.in: Regenerate. + * bin/wrapper.in: Regenerate. + 2003-11-26 Paolo Bonzini * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): diff --git a/bin/autoconf.in b/bin/autoconf.in index d2fd9587c..f41958eca 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -3,7 +3,6 @@ ## M4sh Initialization. ## ## --------------------- ## - # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -70,8 +69,7 @@ if test ! -f "$as_myself"; then { (exit 1); exit 1; }; } fi -if { $SHELL <<\_ASEOF - +if { $SHELL 2>/dev/null <<\_ASEOF # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -153,8 +151,7 @@ do for as_base in sh bash ksh sh5; do case $as_dir in /*) - if { $as_dir/$as_base <<\_ASEOF - + if { $as_dir/$as_base 2>/dev/null <<\_ASEOF # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 2f622c26e..bc6bab46d 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -172,7 +172,7 @@ DUALCASE=1; export DUALCASE # for MKS sh # This is a spy to detect "in the wild" shells that do not support shell # functions correctly. It is based on the m4sh.at Autotest testcases. m4_define([_AS_SHELL_FN_WORK], -[{ $1 <<\_ASEOF +[{ $1 2>/dev/null <<\_ASEOF _AS_BOURNE_COMPATIBLE func_return () { (exit [$]1) diff --git a/tests/wrapper.in b/tests/wrapper.in index 9d8fd57c0..462f33c76 100755 --- a/tests/wrapper.in +++ b/tests/wrapper.in @@ -3,7 +3,6 @@ ## M4sh Initialization. ## ## --------------------- ## - # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -70,8 +69,7 @@ if test ! -f "$as_myself"; then { (exit 1); exit 1; }; } fi -if { $SHELL <<\_ASEOF - +if { $SHELL 2>/dev/null <<\_ASEOF # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -153,8 +151,7 @@ do for as_base in sh bash ksh sh5; do case $as_dir in /*) - if { $as_dir/$as_base <<\_ASEOF - + if { $as_dir/$as_base 2>/dev/null <<\_ASEOF # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh