-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(GIO, [gio-2.0 >= 2.26.0])
-AC_SUBST(GIO_LIBS)
-AC_SUBST(GIO_CFLAGS)