* configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 3 Jun 2013 19:38:06 +0000 (21:38 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 3 Jun 2013 19:38:06 +0000 (21:38 +0200)
ChangeLog
configure.ac

index d8c1ee2..2f5f932 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.
+
 2013-06-03  Eli Zaretskii  <eliz@gnu.org>
 
        * configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS.
index 4e58cdd..f23a933 100644 (file)
@@ -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