summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-10 17:17:15 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-10 17:17:15 +0200
commit9e2b9d18ac66da68ef574485a362cfc0550b5aa0 (patch)
treeb372b422779b9c253f65de4a2095fd3c81282a61
parenta01ccc68e411df271b5b61f5835c190394a9ad65 (diff)
downloadgst-plugins-bad-9e2b9d18ac66da68ef574485a362cfc0550b5aa0.tar.gz
gst-plugins-bad-9e2b9d18ac66da68ef574485a362cfc0550b5aa0.tar.bz2
gst-plugins-bad-9e2b9d18ac66da68ef574485a362cfc0550b5aa0.zip
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.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d4ec9374..0af76e12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
])