1 diff -urN a/configure b/configure
2 --- a/configure 2017-04-12 19:55:54.000000000 -0600
3 +++ b/configure 2017-04-16 16:12:23.518837543 -0600
5 die "ERROR: libx264 must be installed and version must be >= 0.118."; } &&
6 { check_cpp_condition x264.h "X264_MPEG2" &&
8 -enabled libx265 && require_pkg_config x265 x265.h x265_api_get &&
9 +enabled libx265 && { use_pkg_config x265 "stdint.h x265.h" x265_api_get ||
10 + { require libx265 x265.h x265_encoder_encode -lx265 -lstdc++ &&
11 + warn "using libx265 without pkg-config"; } } &&
12 { check_cpp_condition x265.h "X265_BUILD >= 68" ||
13 die "ERROR: libx265 version must be >= 68."; }
14 enabled libxavs && require libxavs "stdint.h xavs.h" xavs_encoder_encode -lxavs