[FFmpeg-devel] [PATCH] Don't link against jack if it's disabled
Stefano Sabatini
stefano.sabatini-lala
Fri Jun 26 00:47:17 CEST 2009
On date Thursday 2009-06-25 10:40:33 +0100, M?ns Rullg?rd encoded:
> Adrian Stutz <adrian at sttz.ch> writes:
>
> > Hello,
> >
> > I have Jack installed on OSX but don't want to compile the jack
> > support of ffmpeg. Disabling Jack works fine but configure still adds
> > -ljack to the linker options and the final libraries link against
> > Jack.
> >
> > Attached patch only checks for jack if it's enabled and hence only
> > links to jack if not disabled.
> >
> > Greetings
> > Adrian
> >
> > Index: configure
> > ===================================================================
> > --- configure (revision 19266)
> > +++ configure (working copy)
> > @@ -2215,7 +2215,7 @@
> >
> > check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
> >
> > -check_lib2 jack/jack.h jack_client_open -ljack
> > +enabled jack_demuxer && check_lib2 jack/jack.h jack_client_open -ljack
> >
> > # deal with the X11 frame grabber
> > enabled x11grab &&
>
> OK
Applied.
--
FFmpeg = Faboulous and Faithful Meaningful Portable Exuberant Gadget
More information about the ffmpeg-devel
mailing list