From 27a4e6505bd73496ba7f3e340201686f84e0cd06 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Mon, 8 Dec 2008 18:48:35 -0300 Subject: Checks for glib-2.14 or later g_timeout_add_seconds was only introduced in glib-2.14, so adds a check for this dependency. --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index c779a843..afc88d5d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -109,8 +109,8 @@ AC_DEFUN([AC_PATH_DBUS], [ ]) AC_DEFUN([AC_PATH_GLIB], [ - PKG_CHECK_MODULES(GLIB, glib-2.0, dummy=yes, - AC_MSG_ERROR(GLib library is required)) + PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14, dummy=yes, + AC_MSG_ERROR(GLib library version 2.14 or later is required)) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) ]) -- cgit