build: relax glib version requirement to 2.24

We only need newer glib for G_DEFINE_BOXED_TYPE, which is only
required for introspection.  If you don't want introspection, you
don't need that, so allow building on glib 2.24 without.

We may be compatible with even earlier glib versions too, if so
let me know and I'll downgrade the requirement further.
This commit is contained in:
Dan Williams 2011-03-07 10:39:08 -06:00
parent 8b8e3fa605
commit 580ee0fc27

View file

@ -236,7 +236,7 @@ PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.1 dbus-glib-1 >= 0.75)
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
PKG_CHECK_MODULES(GLIB, gthread-2.0 glib-2.0 >= 2.26 gobject-2.0)
PKG_CHECK_MODULES(GLIB, gthread-2.0 glib-2.0 >= 2.24 gobject-2.0)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)