[FFmpeg-devel] [PATCH] configure: x11grab + ld --as-needed

Diego Biurrun diego
Thu May 3 14:14:18 CEST 2007


On Thu, May 03, 2007 at 03:49:59PM +0400, Pavlov Konstantin wrote:
> On Thu, May 03, 2007 at 01:46:47PM +0200, Diego Biurrun wrote:
> > On Wed, May 02, 2007 at 05:18:54PM +0400, Pavlov Konstantin wrote:
> > > 
> > > --- a/configure
> > > +++ b/configure
> > > @@ -1729,7 +1729,8 @@ check_header X11/Xlib.h                 &&
> > >  check_header X11/extensions/XShm.h      &&
> > >  check_func XOpenDisplay -lX11           &&
> > >  check_func XShmCreateImage -lX11 -lXext &&
> > > -add_extralibs -lX11 -lXext              ||
> > > +add_extralibs -lX11 -lXext              &&
> > > +enable x11_grab                         ||
> > >  disable x11_grab_device_demuxer
> > 
> > Looks wrong, what's the problem you're trying to address there?
> 
> Only adding x11_grab variable to be used in configure output.

That variable already exists and is already being set ..

> > > @@ -1833,6 +1834,7 @@ echo "static                    $static"
> > >  echo "shared                    $shared"
> > >  echo "postprocessing support    $pp"
> > >  echo "software scaler enabled   $swscaler"
> > > +echo "x11 grabbing enabled      $x11_grab"
> > >  echo "video hooking             $vhook"
> > 
> > I don't really like this.  We have a list of things that we print info
> > about.  You could argue that it's arbitrary, adding things here and
> > there is not going to help (much).
> 
> I think it's actually a good idea to print out useful info about configure
> results. Especially when it comes to something i explicitly --enable.
> Could be done with $x11_grab_device_demuxer though.

I'm not claiming you don't have a point, just that we should look into a
slightly more general solution in the medium term.

Diego




More information about the ffmpeg-devel mailing list