bug-autoconf
[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: Paul Eggert
Subject: Re: 2.57f: config.status fails on solaris 2.6 (Was: Configure Problem on Solaris 2.6)
Date: 15 Oct 2003 09:46:53 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Heinz Salzmann <address@hidden> writes:

>  > 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

I don't get that at all on my Solaris 2.6 sparc host.  Perhaps your
ksh is buggy?  Or perhaps it's from your locale?  Here's what I get:

24-dew $ cat x.x
# Support unset when possible.
if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   as_unset=unset
else
   as_unset=false
fi
25-dew $ /bin/ksh x.x
26-dew $ ls -l /bin/ksh
-r-xr-xr-x   2 bin      bin       186528 Jan  7  2003 /bin/ksh
26-dew $ ls -l /bin/ksh
-r-xr-xr-x   2 bin      bin       186528 Jan  7  2003 /bin/ksh
27-dew $ /usr/bin/sum /bin/ksh
8794 365 /bin/ksh
28-dew $ locale
LANG=
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_ALL=en_US




reply via email to

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