Re: weird ksh eval behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> 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+"$[@]"}'='"$[@]"'
   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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux