[FFmpeg-devel] [PATCH 2/3] build: rely on pkg-config for libx264 probing

Clément Bœsch u at pkh.me
Thu Jun 19 18:59:48 CEST 2014


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?

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140619/80860ac6/attachment.asc>


More information about the ffmpeg-devel mailing list