aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorReino Wijnsma <rwijnsma@xs4all.nl>2017-10-13 19:52:27 -0300
committerJames Almer <jamrial@gmail.com>2017-10-13 20:22:44 -0300
commit458783315b8fb84e0a06346184b3cf62314c9e2e (patch)
treebce7fdea89173b6e40e221a8e57563c7caf36490 /configure
parentfa5e71a815ef559f8d2c63166e0f99ef1ab0b874 (diff)
downloadffmpeg-458783315b8fb84e0a06346184b3cf62314c9e2e.tar.gz
configure: switch the libzvbi check to pkg-config
The library has several dependencies that vary between systems. Their pkg-config properly lists them all. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1bb61112d4..15f7e379d4 100755
--- a/configure
+++ b/configure
@@ -6102,7 +6102,7 @@ enabled libxavs && require libxavs "stdint.h xavs.h" xavs_encoder_enco
enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore
enabled libzimg && require_pkg_config libzimg "zimg >= 2.3.0" zimg.h zimg_get_api_version
enabled libzmq && require_pkg_config libzmq libzmq zmq.h zmq_ctx_new
-enabled libzvbi && require libzvbi libzvbi.h vbi_decoder_new -lzvbi &&
+enabled libzvbi && require_pkg_config libzvbi zvbi-0.2 libzvbi.h vbi_decoder_new &&
{ check_cpp_condition libzvbi.h "VBI_VERSION_MAJOR > 0 || VBI_VERSION_MINOR > 2 || VBI_VERSION_MINOR == 2 && VBI_VERSION_MICRO >= 28" ||
enabled gpl || die "ERROR: libzvbi requires version 0.2.28 or --enable-gpl."; }
enabled libxml2 && require_pkg_config libxml2 libxml-2.0 libxml2/libxml/xmlversion.h xmlCheckVersion