+2003-12-03 Paolo Bonzini <bonzini@gnu.org>
+
+ * 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 <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
## M4sh Initialization. ##
## --------------------- ##
-
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
{ (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
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
# 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)
## M4sh Initialization. ##
## --------------------- ##
-
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
{ (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
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