[FFmpeg-devel] [PATCH] Don't link against jack if it's disabled
Måns Rullgård
mans
Thu Jun 25 11:40:33 CEST 2009
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
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list