From 81974faaba03caf799810ae4dad39fa7513b9ed0 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 12 Jul 2013 19:14:20 -0400 Subject: [PATCH] * configure.ac: Fix goofs in previous. --- configure.ac | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 8cd482bc71d..f0cee741697 100644 --- a/configure.ac +++ b/configure.ac @@ -2350,6 +2350,7 @@ if test "${with_file_notification}" != "no"; then AC_DEFINE(HAVE_GFILENOTIFY, 1, [Define to 1 if using GFile.]) NOTIFY_OBJ=gfilenotify.o NOTIFY_SUMMARY="yes -lgio (gfile)" + with_file_notification=gfile elif test "${with_file_notification}" = "gfile"; then AC_MSG_ERROR([File notification `gfile' requested but requirements not found.]) fi @@ -2365,10 +2366,13 @@ if test "${with_file_notification}" != "no"; then AC_DEFINE(HAVE_INOTIFY, 1, [Define to 1 to use inotify.]) NOTIFY_OBJ=inotify.o NOTIFY_SUMMARY="yes -lglibc (inotify)" - fi - elif test "${with_file_notification}" = "inotify"; then + with_file_notification=inotify + fi + fi + if test "${with_file_notification}" = "inotify" && \ + test -z "${NOTIFY_OBJ}"; then AC_MSG_ERROR([File notification `inotify' requested but requirements not found.]) - fi + fi fi fi dnl ${with_file_notification} != no -- 2.39.2