* doc/autoconf.texi (Special Shell Variables): Mention

ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.

* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
MAILPATH and set PS1, PS2, PS4 to default values, to work
around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
For LC_ALL etc, first try to set to "C" as POSIX requires and as
the Autoconf documentation specifies; fall back to "unset" only if
this fails.  Use a shell for-loop for this rather than an m4 loop,
to shorten the output script.
This commit is contained in:
Paul Eggert 2002-09-01 08:25:09 +00:00
parent c4406379c7
commit 6eb625f2f3

View File

@ -1,3 +1,16 @@
2002-09-01 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Special Shell Variables): Mention
ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
MAILPATH and set PS1, PS2, PS4 to default values, to work
around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
For LC_ALL etc, first try to set to "C" as POSIX requires and as
the Autoconf documentation specifies; fall back to "unset" only if
this fails. Use a shell for-loop for this rather than an m4 loop,
to shorten the output script.
2002-08-30 Paul Eggert <eggert@twinsun.com>
* doc/autoconf.texi (Special Shell Variables): Mention POSIX