Solaris shell chokes on gcc/configure
Donn Terry
donn@interix.com
Fri Apr 30 23:15:00 GMT 1999
Sorry 'bout that. I don't even HAVE a shell that doesn't understand
that construct. It's the "Arithmetic Expansion" expression
required by POSIX.2 (3.6.4). However, we're still limiting
ourselves to pre-POSIX shells. (Otherwise I would have
used $() in other places, because the current alternatives
are truly horrible.) ($() is also required by POSIX.2).
Patch to follow in a few minutes.
Donn
Richard Earnshaw wrote:
>
> The solaris shell is choking on the recent configure.in change for the
> alpha-*-interix even if not configuring for this target. The setting of
> target_cpu_default in there is causing the error:
>
> checking for sys_siglist declaration in signal.h or unistd.h... (cached) no
> ../../../../gnusrc/egcs/gcc/configure: syntax error at line 2937:
> `target_cpu_default=$' unexpected
> gnumake[1]: *** [config.status] Error 2
>
> this needs to be quoted somehow (at least some shells, but not all,
> interpret $(...) in the same way as `...`).
>
> Richard.
--
===================================================
Donn Terry mailto:donn@interix.com
Softway Systems, Inc. http://www.interix.com
2850 McClelland Dr, Ste. 1800 Ft.Collins CO 80525
Tel: +1-970-204-9900 Fax: +1-970-204-9951
===================================================
More information about the Gcc-bugs
mailing list