From 969ba65ecc8910b7f386d2a12f7012f702bccab3 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 24 Jan 2012 13:21:34 +0100 Subject: [PATCH] libcelt: configure: distinguish not found and too old. Fixes ticket #940. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a06e63cbe0..2a3975edce 100755 --- a/configure +++ b/configure @@ -3110,7 +3110,9 @@ enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h header not enabled gnutls && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init enabled libaacplus && require "libaacplus >= 2.0.0" aacplus.h aacplusEncOpen -laacplus enabled libass && require_pkg_config libass ass/ass.h ass_library_init -enabled libcelt && require libcelt celt/celt.h celt_decoder_create_custom -lcelt0 +enabled libcelt && require libcelt celt/celt.h celt_decode -lcelt0 && + { check_lib celt/celt.h celt_decoder_create_custom -lcelt0 || + die "ERROR: libcelt version must be >= 0.11.0."; } enabled libdc1394 && require_pkg_config libdc1394-2 dc1394/dc1394.h dc1394_new enabled libdirac && require_pkg_config dirac \ "libdirac_decoder/dirac_parser.h libdirac_encoder/dirac_encoder.h" \