configure.ac: Require GLib-2.8 here as well.
authorTim-Philipp Müller <tim@centricular.net>
Fri, 5 May 2006 08:56:32 +0000 (08:56 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 5 May 2006 08:56:32 +0000 (08:56 +0000)
Original commit message from CVS:
* configure.ac:
Require GLib-2.8 here as well.

ChangeLog
configure.ac

index 0052483..cda395f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * configure.ac:
+         Require GLib-2.8 here as well.
+
 2006-05-05  Wim Taymans  <wim@fluendo.com>
 
        * gst/glib-compat.c:
index d93cb57..1e1245e 100644 (file)
@@ -360,17 +360,10 @@ dnl *** checks for dependancy libraries ***
 
 dnl GLib
 
-GST_GLIB_CHECK([2.6])
+GST_GLIB_CHECK([2.8])
 
-dnl GLib 2.8 has some bug fixes that we like, so make sure our code knows
-AC_MSG_CHECKING([glib version >= 2.8])
-if pkg-config --atleast-version=2.8 glib-2.0; then
-  AC_MSG_RESULT(yes)
-  GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
-else
-  AC_MSG_RESULT(no)
-  GST_HAVE_GLIB_2_8_DEFINE="/* #undef GST_HAVE_GLIB_2_8 */"
-fi
+dnl Guess we need to keep this around until 0.11
+GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
 AC_SUBST(GST_HAVE_GLIB_2_8_DEFINE)
 
 dnl Check for glib2 without extra fat, useful for the unversioned tool frontends