build: Remove unneeded function check
authorBastien Nocera <hadess@hadess.net>
Tue, 22 Oct 2013 11:35:44 +0000 (13:35 +0200)
committerBastien Nocera <hadess@hadess.net>
Tue, 6 Jan 2015 00:17:49 +0000 (01:17 +0100)
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

index a1eab41..da27be2 100644 (file)
@@ -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)