configure: fix x264 version checking

x264 releases carry pkg-config versions such as 0.120.x
(literallly with an 'x'). Checking for x264 >= 0.120.0 will
then fail, so we need to either check for > 0.119.0 or
for >= 0.120 to make this work right.
This commit is contained in:
Tim-Philipp Müller 2013-08-17 23:13:17 +01:00
parent 71ce5136d1
commit eb5adde7af

View file

@ -369,7 +369,7 @@ AG_GST_CHECK_FEATURE(TWOLAME, [twolame], twolame, [
dnl *** x264 (MPEG-4 part 10/h.264/AVC encoder) ***
translit(dnm, m, l) AM_CONDITIONAL(USE_X264, true)
AG_GST_CHECK_FEATURE(X264, [x264 plug-in], x264, [
AG_GST_PKG_CHECK_MODULES(X264, x264 >= 0.120.0)
AG_GST_PKG_CHECK_MODULES(X264, x264 >= 0.120)
])
else