[Top][All Lists]

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

Re: 2.59d on OpenServer

From: Paul Eggert
Subject: Re: 2.59d on OpenServer
Date: Tue, 06 Jun 2006 15:56:51 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Tim Rice <address@hidden> writes:

> OSR5 didn't have /usr/bin/posix/sh so there wasn't
> and "backward compatability" reasson to use the older ksh.

This is a regression, then, and it was caused by the patch to m4sh.m4
described here:


Given the unanticipated problems on OpenServer, perhaps we should go
back to the proposal (0a) in that message.  Does the following patch
fix things for you?  (I haven't installed it.)

2006-06-06  Paul Eggert  <address@hidden>

        * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH, since
        we want to select a shell that doesn't need BIN_SH to be set to fix
        things.  See (0a) under:
        (_AS_DETECT_BETTER_SHELL): Don't prepend /usr/bin/posix to PATH.
        This fixes a bug reported by Tim Rice for OpenServer 6.0
        where /usr/bin/posix/sh has a too-small limit for string literals.

--- lib/m4sugar/m4sh.m4 31 May 2006 09:44:39 -0000      1.190
+++ lib/m4sugar/m4sh.m4 6 Jun 2006 22:51:51 -0000
@@ -172,7 +172,6 @@ if test -n "${ZSH_VERSION+set}" && (emul
   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
-BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
@@ -228,7 +227,7 @@ if test "x$CONFIG_SHELL" = x; then
         _AS_RUN([_AS_DETECT_SUGGESTED_BODY]) 2> /dev/null],
       [case $as_dir in
           for as_base in sh bash ksh sh5; do

reply via email to

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