]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(_AS_BOURNE_COMPATIBLE): Try `set -o
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 2 Dec 2005 19:22:49 +0000 (19:22 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 2 Dec 2005 19:22:49 +0000 (19:22 +0000)
posix' unconditionally, for pdksh in `native sh' emulation.

lib/m4sugar/m4sh.m4

index 6bfde3beaf15355604828e2ef70eeb67abe2de26..25c2ca952f0cf0ac1b89026ab79e411b0528fb8d 100644 (file)
@@ -169,7 +169,7 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   # 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