From: Michael Albinus Date: Mon, 3 Jun 2013 19:38:06 +0000 (+0200) Subject: * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~85^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9110c6b2f796b5147b018c3d70df9d6af657eff;p=emacs.git * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24. --- diff --git a/ChangeLog b/ChangeLog index d8c1ee2881f..2f5f932a559 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 4e58cddf59e..f23a9334a73 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