[FFmpeg-devel] [PATCH v2 2/8] configure: Add version check for libkvazaar

Clément Bœsch u at pkh.me
Tue Sep 29 16:15:04 CEST 2015


On Tue, Sep 29, 2015 at 04:29:09PM +0300, Arttu Ylä-Outinen wrote:
> Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen at tut.fi>
> ---
> v2: Add this patch.
> ---
>  configure |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configure b/configure
> index b572d59..30576c1 100755
> --- a/configure
> +++ b/configure
> @@ -5272,6 +5272,8 @@ enabled libgsm            && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
>                                 done || die "ERROR: libgsm not found"; }
>  enabled libilbc           && require libilbc ilbc.h WebRtcIlbcfix_InitDecode -lilbc

>  enabled libkvazaar        && require_pkg_config kvazaar kvazaar.h kvz_api_get
> +                             { check_cpp_condition kvazaar.h "KVZ_API_VERSION >= 7" ||
> +                               die "ERROR: kvazaar API version must be at least 7."; }

Can you do something like require_pkg_config "kvazaar >= 1.2.3" instead?
(see pkg-config --modversion kvazaar)

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150929/a988f45e/attachment.sig>


More information about the ffmpeg-devel mailing list