summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f195c862..8cbfee6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,8 +63,10 @@ AC_CHECK_FUNC(signalfd, dummy=yes,
AC_CHECK_LIB(dl, dlopen, dummy=yes,
AC_MSG_ERROR(dynamic linking loader is required))
-PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.60, dummy=yes,
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.68, dummy=yes, [
+ PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.60, dummy=yes,
AC_MSG_ERROR(GLib >= 2.60 is required))
+])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)