diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-01-24 13:21:34 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-01-24 13:23:02 +0100 |
commit | 969ba65ecc8910b7f386d2a12f7012f702bccab3 (patch) | |
tree | 8fad74496258473cb31cbc7a842825a2952ceb34 | |
parent | af21823ae0dc8f72446f9beb22563a72f485a57c (diff) | |
download | ffmpeg-969ba65ecc8910b7f386d2a12f7012f702bccab3.tar.gz |
libcelt: configure: distinguish not found and too old.
Fixes ticket #940.
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" \ |