This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [build] Avoid use of unportable grep -q
- From: Andrew Haley <aph at redhat dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Mon, 10 May 2010 14:01:14 +0100
- Subject: Re: [build] Avoid use of unportable grep -q
- References: <yddhbmfapqj.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
On 05/10/2010 01:46 PM, Rainer Orth wrote:
> During a recent build on Solaris 8 and 9 with only the native tools, I
> noticed that a couple of uses of grep -q have crept in, which is
> unportable according to the Autoconf manual, and not supported by
> Solaris /usr/bin/grep.
>
> The following patch fixes some of them. The remaining uses are in
> config.guess (which would have to be fixed upstream first, but only
> affects NetBSD, HP-UX and Linux) and config/tcl.m4, which is probably
> unused at least in the GCC side of the tree, so I've left them alone.
>
> Ok for mainline, 4.5 and 4.4 branches?
Fine by me. Pretty close to obvious/trivial.
Andrew.