From: Paul Eggert Date: Fri, 2 Dec 2005 19:22:49 +0000 (+0000) Subject: (_AS_BOURNE_COMPATIBLE): Try `set -o X-Git-Tag: AUTOCONF-2.59c~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f53cfee7bb0f69204642a615f2ed7e280b8a75;p=thirdparty%2Fautoconf.git (_AS_BOURNE_COMPATIBLE): Try `set -o posix' unconditionally, for pdksh in `native sh' emulation. --- diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 6bfde3bea..25c2ca952 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -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