Subject: zsh configure and NetBSD's nawk
To: None <zsh-workers@sunsite.dk>
From: Denis Lagno <dlagno@rambler.ru>
List: tech-userlevel
Date: 05/29/2005 23:42:14
Hi,

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?