[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:56:23 CET 2013


On Fri, Nov 08, 2013 at 11:40:34PM +0100, Clément Bœsch wrote:
> 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)?
> 

Ah... maybe something like attached?

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-avoid-stdin-stall-with-GNU-AS-probing.patch
Type: text/x-diff
Size: 1104 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131108/37abcf68/attachment.bin>
-------------- 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/37abcf68/attachment.asc>


More information about the ffmpeg-devel mailing list