summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-07-12 19:14:20 -0400
committerGlenn Morris <rgm@gnu.org>2013-07-12 19:14:20 -0400
commit81974faaba03caf799810ae4dad39fa7513b9ed0 (patch)
tree4fcb4517ffecdc6d616a051d189a0223ccf8601b
parent0880a9520ed651100f9ca85b5c37399b465c7ea2 (diff)
downloademacs-81974faaba03caf799810ae4dad39fa7513b9ed0.tar.gz
* configure.ac: Fix goofs in previous.
-rw-r--r--configure.ac10
1 files 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