From: Rafael L. <rla...@us...> - 2004-02-25 10:19:12
|
* Arjen Markus <arj...@wl...> [2004-02-25 09:48]: > Well, I tried to configure on IRIX - this complains about line 28319 in > the > configure file: > ./configure[28266]: syntax error at line 28319 : `(' unexpected > > I think the ( and ) are superfluous, so I tried without the parentheses. > (Also removed them at line 28323). > > This worked fine. This is related cf/swig.m4, more precisely the following lines: [swig_tmp=( `echo $1 | sed 's/[^0-9][^0-9]*/ /g'` )] [swig_tmp=( `echo $swig_version | sed 's/[^0-9][^0-9]*/ /g'` )] The parentheses are absolutely necessary because the resulting swig_tmp variable must be an array. Unfortunately, I just discovered that this construct only works with bash and not with the other Bourne shells I have available in my system (ash and dash). Shipping a configure script with bashisms is a very bad thing :-( -- Rafael |