[FFmpeg-devel] [PATCH] configure does not identify gcc

Diego Biurrun diego
Sun Feb 22 11:59:52 CET 2009


On Sun, Feb 22, 2009 at 09:12:09PM +1100, Peter Ross wrote:
> 
> The configure script spews out 'Unknown C compiler' my stock ubuntu box.
> This patch works for me.
> 
> --- configure	(revision 17520)
> +++ configure	(working copy)
> @@ -1356,7 +1356,7 @@
>  
> -if   $cc --version 2>/dev/null | grep -q '(GCC)'; then
> +if   $cc --version 2>/dev/null | grep -q '(GCC)\|^gcc'; then
>      cc_type=gcc

The pipe can only be used with extended regular expressions.

Diego




More information about the ffmpeg-devel mailing list