configure.ac: Require GLib-2.8 here as well.

Original commit message from CVS:
* configure.ac:
Require GLib-2.8 here as well.
This commit is contained in:
Tim-Philipp Müller 2006-05-05 08:56:32 +00:00
parent ef7f163300
commit 54c2d0552c
2 changed files with 8 additions and 10 deletions

View file

@ -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> 2006-05-05 Wim Taymans <wim@fluendo.com>
* gst/glib-compat.c: * gst/glib-compat.c:

View file

@ -360,17 +360,10 @@ dnl *** checks for dependancy libraries ***
dnl GLib 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 dnl Guess we need to keep this around until 0.11
AC_MSG_CHECKING([glib version >= 2.8]) GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
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
AC_SUBST(GST_HAVE_GLIB_2_8_DEFINE) AC_SUBST(GST_HAVE_GLIB_2_8_DEFINE)
dnl Check for glib2 without extra fat, useful for the unversioned tool frontends dnl Check for glib2 without extra fat, useful for the unversioned tool frontends