[FFmpeg-devel] [PATCH] configure: Use pkg-config for libkvazaar.

Michael Niedermayer michael at niedermayer.cc
Tue Aug 18 15:50:29 CEST 2015


On Tue, Aug 18, 2015 at 08:27:51AM -0400, Ganesh Ajjanagadde wrote:
> On Tue, Aug 18, 2015 at 6:57 AM, Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> > On Tue, Aug 18, 2015 at 09:04:41AM +0300, Arttu Ylä-Outinen wrote:
> >> Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen at tut.fi>
> >> ---
> >>  configure |    2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/configure b/configure
> >> index 55cc7fb..3fa37b7 100755
> >> --- a/configure
> >> +++ b/configure
> >> @@ -5226,7 +5226,7 @@ enabled libgsm            && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
> >>                                     check_lib "${gsm_hdr}" gsm_create -lgsm && break;
> >>                                 done || die "ERROR: libgsm not found"; }
> >>  enabled libilbc           && require libilbc ilbc.h WebRtcIlbcfix_InitDecode -lilbc
> >> -enabled libkvazaar        && require2 libkvazaar kvazaar.h kvz_api_get -lkvazaar
> >> +enabled libkvazaar        && require_pkg_config kvazaar kvazaar.h kvz_api_get
> >>  enabled libmfx            && require_pkg_config libmfx "mfx/mfxvideo.h" MFXInit
> >>  enabled libmodplug        && require_pkg_config libmodplug libmodplug/modplug.h ModPlug_Load
> >>  enabled libmp3lame        && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame
> >
> > applied
> 
> I am fine with this patch, but as per the discussion on Ticket #4197:
> https://trac.ffmpeg.org/ticket/4197#comment:29
> don't we support detection without pkg_config as a fallback?

we do for some libs


> As you can see from this, I am not in favor of unnecessary
> complication of configure,
> but there are some developers who have concerns about this.

I have no oppinon on pkg_config vs no pkg_config at all as long as it
works.

Also i think the primary question about supporting fallbacks
is if there is a volunteer to maintain such support.
If there is, there should be no objections against it. Basically all
work such fallback would cause would have to be done by whoever
volunteers to maintain it. Of course if there is a volunteer, people
should still work together and not try to cause each other extra work
and rather help.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150818/cbd3eeef/attachment.sig>


More information about the ffmpeg-devel mailing list