[FFmpeg-devel] [PATCH 2/3] build: rely on pkg-config for libx264 probing
Clément Bœsch
u at pkh.me
Wed Aug 13 21:06:28 CEST 2014
On Thu, Jun 19, 2014 at 06:59:48PM +0200, Clément Bœsch wrote:
> On Thu, Jun 19, 2014 at 04:23:55PM +0000, Carl Eugen Hoyos wrote:
> > Clément Bœsch <u <at> pkh.me> writes:
> >
> > > > If your patch is really what everybody wants, please
> > > > add a fallback that allows to try the current
> > > > way of building if pkg-config returns that the
> > > > library is missing.
> > >
> > > How am I supposed to do that?
> > >
> > > add a --enable-manual-detection-libx264?
> >
> > Sorry, I meant the variant that you proposed last week:
> > http://ffmpeg.org/pipermail/ffmpeg-devel/2014-June/158707.html
> >
> > enabled libx264 && require_pkg_config x264 ||
> > require libx264 x264.h ...
> >
>
> In that case, I probably need to add a libx264 exception in
> require_pkg_config, because after patch 3 it will die if pkg-config is not
> found. That's going to be pretty ugly.
>
> Is everyone fine with that?
>
Carl, do you want the fallback to work just when pkg-config is not
available or do you actually want a real fallback when it is present but
didn't succeed? (the second solution is way uglier to solve)
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140813/67a4257e/attachment.asc>
More information about the ffmpeg-devel
mailing list