bug-automake
[Top][All Lists]
Advanced

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

Re: 2.57f: config.status fails on solaris 2.6 (Was: Configure Problem on


From: Ralf Corsepius
Subject: Re: 2.57f: config.status fails on solaris 2.6 (Was: Configure Problem on Solaris 2.6)
Date: Wed, 15 Oct 2003 15:57:30 +0200

On Wed, 2003-10-15 at 08:16, Heinz Salzmann wrote:
> Paul Eggert schrieb:
> > Alexandre Duret-Lutz <address@hidden> writes:
> > 
> > 
> >>Heinz Salzmann <address@hidden>:
> >>| Automake 1.7.7, 1.7.8
> >>| OS: sparc-sun-solaris2.6
> > 
> > 
> >>Apparently that workaround to a bug in Bash just triggers a bug in
> >>another shell :(

> I 1st met this problem with automake, but I can reproduce it with only 
> the five lines above on a Solaris 2.6 machine.
> 
>  > uname -a
> SunOS adesso 5.6 Generic_105181-14 sun4m sparc
> 
>  > ls -l /bin/ksh
> -r-xr-xr-x   2 bin      bin       186356 Jul 16  1997 /bin/ksh
> 
>  > cat > x.x <<EOF
> # Support unset when possible.
> if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
>    as_unset=unset
> else
>    as_unset=false
> fi
> EOF
> 
> And I still get the message
>  > /bin/ksh x.x
> x.x[2]: syntax error at line 2 : `||' unexpected

FWIW: With pdksh-5.2.14-21 under RH-9:

# /bin/ksh ./foo.sh
./foo.sh[2]: syntax error: `if' unmatched

Ralf






reply via email to

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