|
From: | Heinz Salzmann |
Subject: | Re: 2.57f: config.status fails on solaris 2.6 (Was: Configure Problem on Solaris 2.6) |
Date: | Wed, 15 Oct 2003 08:16:22 +0200 |
User-agent: | Mozilla/5.0 (X11; U; SunOS sun4u; de-AT; rv:1.4) Gecko/20030701 |
Paul Eggert schrieb:
Alexandre Duret-Lutz <address@hidden> writes:Heinz Salzmann <address@hidden>: | Automake 1.7.7, 1.7.8 | OS: sparc-sun-solaris2.6Apparently that workaround to a bug in Bash just triggers a bug in another shell :(I can't reproduce the bug on my sparc-sun-solaris2.6 host. That is, given the following file: # Support unset when possible. if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi and running any of the following commands: /bin/sh file /bin/ksh file /usr/dt/bin/dtksh file bash file (this is Bash 2.05a) They all succeed without reporting "`||' unexpected". Can you please give more details about how to reproduce the bug? (I missed the earlier part of this thread.)
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 Hope this helps a little bit out -- Heinz Salzmann Micronas GmbH Hans-Bunte-Str. 19 79108 Freiburg, Germany Phone: +49-761-517-2807 Fax: +49-761-517-2320
[Prev in Thread] | Current Thread | [Next in Thread] |