From b9110c6b2f796b5147b018c3d70df9d6af657eff Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 3 Jun 2013 21:38:06 +0200 Subject: [PATCH] * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24. --- ChangeLog | 4 ++++ configure.ac | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d8c1ee2881..2f5f932a55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-06-03 Michael Albinus + + * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24. + 2013-06-03 Eli Zaretskii * configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS. diff --git a/configure.ac b/configure.ac index 4e58cddf59..f23a9334a7 100644 --- a/configure.ac +++ b/configure.ac @@ -2321,12 +2321,13 @@ if test "${with_file_notification}" = "yes"; then fi fi -dnl g_file_monitor exists since glib 2.18. It has been tested under +dnl g_file_monitor exists since glib 2.18. G_FILE_MONITOR_EVENT_MOVED +dnl has been added in glib 2.24. It has been tested under dnl GNU/Linux only. We take precedence over inotify, but this makes dnl only sense when glib has been compiled with inotify support. How dnl to check? if test "${with_file_notification}" = "gfile"; then - PKG_CHECK_MODULES(GFILENOTIFY, gio-2.0 >= 2.18, HAVE_GFILENOTIFY=yes, HAVE_GFILENOTIFY=no) + PKG_CHECK_MODULES(GFILENOTIFY, gio-2.0 >= 2.24, HAVE_GFILENOTIFY=yes, HAVE_GFILENOTIFY=no) if test "$HAVE_GFILENOTIFY" = "yes"; then AC_DEFINE(HAVE_GFILENOTIFY, 1, [Define to 1 if using GFile.]) NOTIFY_OBJ=gfilenotify.o -- 2.20.1