summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2008-12-08 18:48:35 -0300
committerVinicius Costa Gomes <vinicius.gomes@openbossa.org>2008-12-08 19:11:38 -0300
commit27a4e6505bd73496ba7f3e340201686f84e0cd06 (patch)
tree4064a2f48e060e1de92d89acb623de559d6e9b39
parent8b9965dfae7a7e19e9fc223b5240119804a6cfbd (diff)
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.
-rw-r--r--acinclude.m44
1 files 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)
])