[FFmpeg-devel] [PATCH] build: make sure probed tools don't wait for stdin input.

James Almer jamrial at gmail.com
Sun Oct 6 02:06:27 CEST 2013


On 05/10/13 6:44 PM, Michael Niedermayer wrote:
> On Fri, Feb 15, 2013 at 12:05:59AM +0100, Clément Bœsch wrote:
>> On Wed, Jan 09, 2013 at 12:15:46AM +0100, Clément Bœsch wrote:
>>> a758c5e added probing for various tools, such as as. Unfortunately, GNU
>>> as is reading stdin with -v, and thus configure is stalled with
>>> configure arguments such as --as=as.
>>>
>>> The --version calls are unchanged because it is supposed to -v + exit.
>>>
>>> Fixes Ticket #1898.
>>
>> Ping
> 
> probably ok

As i said back in February, the output of GNU as doesn't start with "gcc", 
so the line

> elif $_cc -v 2>&1 < /dev/null | grep -qi ^gcc; then

needs to check for both "GNU" and "gcc".
Something like grep -qi '^g\(cc\|nu\)' should do it.


More information about the ffmpeg-devel mailing list