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

Clément Bœsch u at pkh.me
Fri Nov 8 23:40:34 CET 2013


On Sat, Oct 26, 2013 at 10:45:23PM +0200, Michael Niedermayer 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.
> > ---
> >  configure | 24 ++++++++++++------------
> >  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> it seems a few entries where added since this patch, that this patch
> doesnt add "< /dev/null" to
> 

> Maybe it would be easier and more robust to check for gnu as at the
> top or so, so it doesnt break when the next entry is added

And what would you do in that case? Assume any AS version is supposed to
behave like the GNU AS probing (aka not entering in any of the checks)?

We could of course just not call the probing for AS at all, but I was
trying to have a conservative approach because I'm not familiar with all
the tools it's trying to probe.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131108/0b6a3adc/attachment.asc>


More information about the ffmpeg-devel mailing list