configure.ac: Bump libtheora requirement to 1.0alpha5 for the pixformat check (also...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 17 May 2007 14:17:17 +0000 (14:17 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 17 May 2007 14:17:17 +0000 (14:17 +0000)
Original commit message from CVS:
* configure.ac:
Bump libtheora requirement to 1.0alpha5 for the pixformat check
(also has a .pc file, so we don't need the fallback check any
longer). Fixes #438840.

ChangeLog
configure.ac

index 5556262..9689c49 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-05-17  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * configure.ac:
+         Bump libtheora requirement to 1.0alpha5 for the pixformat check
+         (also has a .pc file, so we don't need the fallback check any
+         longer). Fixes #438840.
+
 2007-05-17  Wim Taymans  <wim@fluendo.com>
 
        * gst/playback/gstqueue2.c: (gst_queue_get_type),
index 5e1e6bf..2322a76 100644 (file)
@@ -481,12 +481,9 @@ AG_GST_CHECK_FEATURE(PANGO, [Pango font rendering], pango, [
 dnl *** theora ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_THEORA, true)
 AG_GST_CHECK_FEATURE(THEORA, [Xiph Theora video codec], theora, [
-  AG_GST_PKG_CHECK_MODULES(THEORA, theora)
-  if test $HAVE_THEORA = no
-  then
-    AG_GST_CHECK_LIBHEADER(THEORA, theora, theora_version_string, "-logg", theora/theora.h, THEORA_LIBS="-ltheora -logg")
-    AC_SUBST(THEORA_LIBS)
-  fi
+  dnl this check will work as long as theora uses 1.0.x or similar for the
+  dnl first post-alpha release and not just 1.0
+  AG_GST_PKG_CHECK_MODULES(THEORA, theora >= 1.0alpha5)
 ])
 
 dnl *** vorbis ***