* configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.
This commit is contained in:
parent
9337e20653
commit
b9110c6b2f
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue