Subject: Re: zsh configure and NetBSD's nawk
To: None <tech-userlevel@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-userlevel
Date: 05/29/2005 20:33:35
In article <20050529194214.GC28637@chup.gado>,
Denis Lagno <dlagno@rambler.ru> writes:
>
> configure from zsh (current from cvs) does not work on NetBSD:
>
> checking where signal.h is located... awk: syntax error at source line 1
> context is
> { if ($1 ~ >>> \ <<< "sig\") files[$1] = $1 }
> awk: illegal statement at source line 2
> /usr/include/sys/signal.h
> checking where error names are located... awk: syntax error at source line 1
> context is
> { if ($1 ~ >>> \ <<< "err\") files[$1] = $1 }
> awk: illegal statement at source line 2
> configure: error: ERROR MACROS NOT FOUND: please report to developers
>
> Apparently there is something that nawk cannot handle.
> Is this non-standard construction or is NetBSD's nawk broken?
The configure script is insane. Regular expressions should be
delimited by the "slash" ("/"), a.k.a the "solidus", a.k.a the
"diagonal".
Frederick