This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: non-portable construct in gcc configure script
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: Joe Buck <jbuck at synopsys dot com>, gcc at gcc dot gnu dot org
- Date: Sun, 01 Jun 2003 10:49:09 -0700
- Subject: Re: non-portable construct in gcc configure script
- References: <20030515180723.A1418@synopsys.com><200305242220.12082.ebotcazou@libertysurf.fr>
Eric Botcazou <ebotcazou@libertysurf.fr> writes:
>
> Does the attached patch cure it? The construct works on the 5 Solaris
> versions I have access to, but I can't directly test the configure check
> because it dies earlier with the native Sun tools.
That looks like a sensible way to do it.
> - | grep -A1 myfoosect`
> + | sed -n '/.*myfoosect.*/{
> + N
> + p
> + }'`
Suggest '/myfoosect/{; N; p; }'
zw