]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Revert my change from 2006-03-17, in other words:
authorStepan Kasal <kasal@ucw.cz>
Fri, 7 Apr 2006 18:00:55 +0000 (18:00 +0000)
committerStepan Kasal <kasal@ucw.cz>
Fri, 7 Apr 2006 18:00:55 +0000 (18:00 +0000)
* 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) <BIN_SH>: Say that
  it is set.

ChangeLog
doc/autoconf.texi
lib/m4sugar/m4sh.m4

index 732f4b0393e382a34f5cd49175fa7e4f776471ea..a4ba4b0c8e07bbe5ffbe26e8eb3498084b00c0e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-04-07  Stepan Kasal  <kasal@ucw.cz>
+
+       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) <BIN_SH>: Say that
+         it is set.
+
 2006-04-07  Eric Blake  <ebb9@byu.net>
 
        * doc/autoconf.texi (Programming in M4sh): Document that
index 1f9d43bb24bb2a525f9472ee586814ae0bda967c..0eac5e36fedcc738a28b47d9469f3ee9dffa237a 100644 (file)
@@ -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
index fec0089d23760646b8cd1cb41c878a3c9760d9ae..83905949c6c31a3d016b5d4488998c0888f3d353 100644 (file)
@@ -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