non-portable construct in gcc configure script
Eric Botcazou
ebotcazou@libertysurf.fr
Sun Jun 1 19:13:00 GMT 2003
> That looks like a sensible way to do it.
Thanks for your answer!
> > - | grep -A1 myfoosect`
> > + | sed -n '/.*myfoosect.*/{
> > + N
> > + p
> > + }'`
>
> Suggest '/myfoosect/{; N; p; }'
Yes, the '.*' are clearly superfluous. But the ';' as separator doesn't work
with Solaris sed so I resorted to what the Solaris manual says (and which
works with GNU sed too).
I've already posted a patch, not yet reviewed:
http://gcc.gnu.org/ml/gcc-patches/2003-05/msg02277.html
--
Eric Botcazou
More information about the Gcc
mailing list