From 23ab35834061b7173985cfd9409cc4aa3a14807e Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 22 Oct 2013 13:35:44 +0200 Subject: [PATCH] build: Remove unneeded function check We already check for glib 2.36.0, which *will* contain g_ptr_array_new_with_free_func (new in 2.22), no need to check for it especially. https://bugzilla.gnome.org/show_bug.cgi?id=710631 --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index a1eab41..da27be2 100644 --- a/configure.ac +++ b/configure.ac @@ -47,10 +47,6 @@ AC_SUBST(DBUS_CFLAGS) PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.36.0]) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) -AC_CHECK_LIB([glib-2.0], [g_ptr_array_new_with_free_func], [:], - [AC_MSG_ERROR([The version of glib-2.0 found does not define ] - [g_ptr_array_new_with_free_func. Please upgrade glib.])], - [$GLIB_LIBS]) PKG_CHECK_MODULES(GOBJ, [gobject-2.0 >= 2.0.0]) AC_SUBST(GOBJ_LIBS) -- 2.7.4