Subject: Re: Check for "test ... == ..." in configure scripts
From: Roland Illig <rillig@NetBSD.org>
Date: 09/25/2006 23:41:28
Roland Illig wrote:
> there's a discussion on tech-userlevel about accepting the "==" operator
> in test(1). But even if NetBSD changes its implementation, others will
> not do that. So pkgsrc continues with having to deal with those
> non-portable shell scripts.
> To solve this, I have written a _very_ simple change to
> mk/configure/configure.mk that just looks if any line of a configure
> script contains the regular expression "test.*==". I hope that this will
> catch a few of the problems.
Thanks for all the feedback. I have since rewritten the thing nearly
twice and will commit it after the end of the freeze.