glibcompat: drop explicit check for g_list_free_full().

This commit is contained in:
Gwenole Beauchesne 2012-07-19 14:29:33 +02:00
parent 1150f50ed0
commit 27c8269b43
2 changed files with 1 additions and 4 deletions

View file

@ -163,9 +163,6 @@ AC_SUBST(GTKDOC_VERSION)
dnl Check for GLib dnl Check for GLib
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal]) AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= glib_version]) PKG_CHECK_MODULES([GLIB], [glib-2.0 >= glib_version])
AC_CHECK_LIB([glib-2.0], [g_list_free_full], [
AC_DEFINE([HAVE_G_LIST_FREE_FULL], [1],
[Define to 1 if g_list_free_full() is available.])])
dnl Check for GStreamer dnl Check for GStreamer
PKG_CHECK_MODULES([GST], PKG_CHECK_MODULES([GST],

View file

@ -24,7 +24,7 @@
#include <glib.h> #include <glib.h>
#ifndef HAVE_G_LIST_FREE_FULL #if !GLIB_CHECK_VERSION(2,27,2)
static inline void static inline void
g_list_free_full(GList *list, GDestroyNotify free_func) g_list_free_full(GList *list, GDestroyNotify free_func)
{ {