From: Stepan Kasal Date: Fri, 7 Apr 2006 18:00:55 +0000 (+0000) Subject: Revert my change from 2006-03-17, in other words: X-Git-Tag: AUTOCONF-2.59c~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67b61ef7002fe8dde384b28508c12f0a92a1ca9c;p=thirdparty%2Fautoconf.git Revert my change from 2006-03-17, in other words: * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4 and DUALCASE=1. (AS_SHELL_SANITIZE): Remove DUALCASE=1. * doc/autoconf.texi (Special Shell Variables) : Say that it is set. --- diff --git a/ChangeLog b/ChangeLog index 732f4b039..a4ba4b0c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-04-07 Stepan Kasal + + Revert my change from 2006-03-17, in other words: + * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4 + and DUALCASE=1. + (AS_SHELL_SANITIZE): Remove DUALCASE=1. + * doc/autoconf.texi (Special Shell Variables) : Say that + it is set. + 2006-04-07 Eric Blake * doc/autoconf.texi (Programming in M4sh): Document that diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 1f9d43bb2..0eac5e36f 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -11209,6 +11209,7 @@ the last command executed. @evindex BIN_SH In Tru64, if @env{BIN_SH} is set to @code{xpg4}, subsidiary invocations of the standard shell conform to Posix. +Autoconf-generated scripts export this variable when they start up. @item CDPATH @evindex CDPATH diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index fec0089d2..83905949c 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -172,6 +172,8 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh ]) @@ -322,7 +324,6 @@ m4_defun([AS_SHELL_SANITIZE], ## --------------------- ## AS_BOURNE_COMPATIBLE -DUALCASE=1; export DUALCASE # for MKS sh # PATH needs CR _AS_CR_PREPARE