Subject: Re: zsh configure and NetBSD's nawk
To: None <>
From: Geoff Wing <>
List: tech-userlevel
Date: 05/30/2005 04:10:59
Frederick Bruckman <> typed:
: In article <20050529194214.GC28637@chup.gado>,
: 	Denis Lagno <> 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
:> 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".

Probably.  However the zsh configure script works for me with NetBSD nawk,
gawk, pkgsrc nawk-20050424  so something else must be happening as well.
Suggest: ``grep AWK config.log'' and ``which'' on the RHS of the assignment.