[FFmpeg-cvslog] configure: Check if libwebp compilation will succeed.

Clément Bœsch u at pkh.me
Fri Aug 8 17:25:31 CEST 2014


On Fri, Aug 08, 2014 at 05:23:43PM +0200, Carl Eugen Hoyos wrote:
> ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Aug  8 16:06:10 2014 +0200| [e4d983e2db0e73e711ae63dc9495316e121ec3da] | committer: Carl Eugen Hoyos
> 
> configure: Check if libwebp compilation will succeed.
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4d983e2db0e73e711ae63dc9495316e121ec3da
> ---
> 
>  configure |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index b6c7c79..65fdd15 100755
> --- a/configure
> +++ b/configure
> @@ -4810,7 +4810,9 @@ enabled libvpx            && {
>      enabled libvpx_vp9_decoder && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_vp9_dx" -lvpx || disable libvpx_vp9_decoder; }
>      enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VP9E_SET_SVC" -lvpx || disable libvpx_vp9_encoder; } }
>  enabled libwavpack        && require libwavpack wavpack/wavpack.h WavpackOpenFileOutput  -lwavpack
> -enabled libwebp           && require_pkg_config libwebp webp/encode.h WebPGetEncoderVersion
> +enabled libwebp           && require_pkg_config libwebp webp/encode.h WebPGetEncoderVersion &&
> +                             { check_code cc webp/encode.h "WebPPicture wp; wp.use_argb++" ||
> +                               die "ERROR: libwebp too old."; }

... ?

Why don't you just include the version check in the libwebp name? What's
"too old"?

[...]

-- 
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-cvslog/attachments/20140808/f70ab81a/attachment.asc>


More information about the ffmpeg-cvslog mailing list