faad: Fix configure check for the FAAD version
The previous version matched things like 297 for version 2.7, etc which could be added to the file by other headers. Fixes bug #582074.
This commit is contained in:
parent
a01ccc68e4
commit
9e2b9d18ac
@ -830,9 +830,9 @@ AG_GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [
|
||||
AC_MSG_CHECKING([Checking FAAD2 version in $faad_hdr])
|
||||
for minor in 10 9 8 7 6 5 0; do
|
||||
if test x$faad2_minor_version = "x"; then
|
||||
AC_EGREP_CPP([2.$minor], [
|
||||
AC_EGREP_CPP([GST_CHECK_FAAD_VERSION \"2\.$minor\"], [
|
||||
#include <$faad_hdr>
|
||||
FAAD2_VERSION
|
||||
GST_CHECK_FAAD_VERSION FAAD2_VERSION
|
||||
], [
|
||||
faad2_minor_version=$minor
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user