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.
This commit is contained in:
Stepan Kasal 2006-04-07 18:00:55 +00:00
parent 67070903a4
commit 67b61ef700
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -11209,6 +11209,7 @@ the last command executed.
@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

View File

@ -172,6 +172,8 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
])
@ -322,7 +324,6 @@ m4_defun([AS_SHELL_SANITIZE],
## --------------------- ##
AS_BOURNE_COMPATIBLE
DUALCASE=1; export DUALCASE # for MKS sh
# PATH needs CR
_AS_CR_PREPARE