non-portable construct in gcc configure script

Zack Weinberg zack@codesourcery.com
Sun Jun 1 17:49:00 GMT 2003


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



More information about the Gcc mailing list