build: Depend on GLib ≥ 2.26.0

We are going to need some new macros and API.
This commit is contained in:
Emmanuele Bassi 2010-10-08 14:47:13 +01:00
parent 2b4ee9ab54
commit 8f5d6cb790
2 changed files with 3 additions and 2 deletions

2
README
View File

@ -9,7 +9,7 @@ REQUIREMENTS
Clutter currently requires:
• GLib >= 2.18.0
• GLib >= 2.26.0
• JSON-GLib >= 0.12
• Atk >= 1.17
• Cairo >= 1.6

View File

@ -107,7 +107,8 @@ LT_INIT([disable-static])
AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics.
AM_PATH_GLIB_2_0([2.18.0], [have_glib=yes], [have_glib=no],
AM_PATH_GLIB_2_0([2.26.0],
[have_glib=yes], [have_glib=no],
[gobject gthread gmodule-no-export])
AS_IF([test "x$have_glib" = "xno"], AC_MSG_ERROR([glib-2.0 is required]))