Assume a (possibly buggy) `unset' is present after a `better shell' was found.
commit26ba5ebd23bcee95d446181b57dac61d7163c041
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 14 Oct 2008 05:16:48 +0000 (14 07:16 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Wed, 15 Oct 2008 14:05:07 +0000 (15 16:05 +0200)
tree6467123aa6601126ba6a946abec25e0be5e1784e
parentd73b293fd3508e995905a538c1725c19b2d6d846
Assume a (possibly buggy) `unset' is present after a `better shell' was found.

* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Use AS_UNSET.
* lib/autoconf/programs.m4 (AC_PROG_SED): Use AS_UNSET.
* lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Provide $as_unset as an
alias for AS_UNSET, for backwards compatibility.
(_AS_DETECT_BETTER_SHELL): Set BASH_ENV and ENV to /dev/null in case
the shell does not support unset.
(_AS_SHELL_SANITIZE): Work around Bash 2.01 bugs.  Unset BASH_ENV.
(AS_INIT, _AS_PREPARE, AS_PREPARE): Call it.
(AS_UNSET): Assume it is there but it might fail if the variable is
not set.  Use it throughout instead of $as_unset.
ChangeLog
lib/autoconf/general.m4
lib/autoconf/programs.m4
lib/m4sugar/m4sh.m4