autoconf-patches
[Top][All Lists]
Advanced

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

Re: MKS Bourne Shell "case" weirdness...


From: Paul Eggert
Subject: Re: MKS Bourne Shell "case" weirdness...
Date: 28 Sep 2003 11:57:46 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Lars J. Aas" <address@hidden> writes:

> we should just set up DUALCASE and possibly
> TK_DUALCASE_IN_CASE_STATEMENTS as part of the shell sanitizion step

It shouldn't hurt to give that a try.  I installed this:

2003-09-28  Paul Eggert  <address@hidden>

        * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
        Problem reported by Lars J. Aas in
        <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.

Index: lib/m4sugar/m4sh.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/m4sugar/m4sh.m4,v
retrieving revision 1.100
diff -p -u -r1.100 m4sh.m4
--- lib/m4sugar/m4sh.m4 26 Sep 2003 08:24:30 -0000      1.100
+++ lib/m4sugar/m4sh.m4 28 Sep 2003 18:52:51 -0000
@@ -152,6 +152,7 @@ if test -n "${ZSH_VERSION+set}" && (emul
 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   set -o posix
 fi
+DUALCASE=1; export DUALCASE # for MKS sh
 
 _AS_UNSET_PREPARE
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]