This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: non-portable construct in gcc configure script


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]