summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-06-10 17:46:57 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-06-12 14:45:20 -0400
commit4321e507564b2d8a5dfc630f8d6fefba6fdc1e92 (patch)
treed409614b2757e799b61d95cf86c7c4eb8bf255b9 /configure
parentceada893bec1e29e457bd2b81d8a0b6fcba5f1f7 (diff)
configure: use pkg-config for libx264
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4ed6f1616f..61cd2d465a 100755
--- a/configure
+++ b/configure
@@ -4096,7 +4096,7 @@ enabled libvpx && {
enabled libvpx_vp9_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx" -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 libx264 && require libx264 x264.h x264_encoder_encode -lx264 &&
+enabled libx264 && require_pkg_config x264 "stdint.h x264.h" x264_encoder_encode &&
{ check_cpp_condition x264.h "X264_BUILD >= 118" ||
die "ERROR: libx264 version must be >= 0.118."; }
enabled libx265 && require_pkg_config x265 x265.h x265_encoder_encode &&