* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
and DUALCASE=1.
(AS_SHELL_SANITIZE): Remove DUALCASE=1.
* doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
it is set.
+2006-04-07 Stepan Kasal <kasal@ucw.cz>
+
+ Revert my change from 2006-03-17, in other words:
+ * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
+ and DUALCASE=1.
+ (AS_SHELL_SANITIZE): Remove DUALCASE=1.
+ * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
+ it is set.
+
2006-04-07 Eric Blake <ebb9@byu.net>
* doc/autoconf.texi (Programming in M4sh): Document that
@evindex BIN_SH
In Tru64, if @env{BIN_SH} is set to @code{xpg4}, subsidiary invocations of
the standard shell conform to Posix.
+Autoconf-generated scripts export this variable when they start up.
@item CDPATH
@evindex CDPATH
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
])
## --------------------- ##
AS_BOURNE_COMPATIBLE
-DUALCASE=1; export DUALCASE # for MKS sh
# PATH needs CR
_AS_CR_PREPARE