[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird ksh eval behavior
From: |
Paul Eggert |
Subject: |
Re: weird ksh eval behavior |
Date: |
Fri, 02 Dec 2005 11:24:09 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
> posix' unconditionally, for pdksh in `native sh' emulation.
Thanks; I installed that into Autoconf.
--- m4sh.m4 6 Sep 2005 15:37:55 -0000 1.151
+++ m4sh.m4 2 Dec 2005 19:22:49 -0000 1.152
@@ -169,7 +169,7 @@ if test -n "${ZSH_VERSION+set}" && (emul
# is contrary to our usage. Disable this feature.
alias -g '${1+"address@hidden"}'='"address@hidden"'
setopt NO_GLOB_SUBST
-elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix)
>/dev/null 2>&1; then
+elif (set -o posix) >/dev/null 2>&1; then
set -o posix
fi
BIN_SH=xpg4; export BIN_SH # for Tru64