On Fri, Jan 04, 2002 at 09:13:51PM -0801, Jos Backus wrote:
> Fyi, as an aside, when building from CVS I am seeing
> 
>     ./config.status: 765: Syntax error: "done" unexpected (expecting ")")
> 
>     The script:
> 
>     #
>     # CONFIG_COMMANDS section.
>     #
>     for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
>       ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
>       ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
> 
>       case $ac_dest in                <- line 765
>       esac
>     done
> 
>     { (exit 0); exit 0; }

Yeah, this seems to be a bug in autoconf because this is not 
portable /bin/sh code.  IIRC, all cases must have an action item.
Are you using 2.52?  I can't see any way around this besides 
getting the autoconf people to fix this.

You *could* try upgrading to autoconf-2.52f:
ftp://alpha.gnu.org/gnu/autoconf/autoconf-2.52f.tar.bz2

HTH.  From my cursory examination of 2.52f, it seems like
it has the same problem.  But, my /bin/sh is happy with the
empty case statements.  So, I can't reproduce this.  -- justin

Reply via email to