[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111176: * configure.ac (HAVE_INOTIFY
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111176: * configure.ac (HAVE_INOTIFY): Speed up configure-time test. |
Date: |
Mon, 10 Dec 2012 12:27:33 -0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111176
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Mon 2012-12-10 12:27:33 -0800
message:
* configure.ac (HAVE_INOTIFY): Speed up configure-time test.
There's no need to test for any of three inotify functions,
since we use all three. Check for just the first one.
modified:
ChangeLog
configure.ac
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-12-10 17:52:35 +0000
+++ b/ChangeLog 2012-12-10 20:27:33 +0000
@@ -1,3 +1,9 @@
+2012-12-10 Paul Eggert <address@hidden>
+
+ * configure.ac (HAVE_INOTIFY): Speed up configure-time test.
+ There's no need to test for any of three inotify functions,
+ since we use all three. Check for just the first one.
+
2012-12-10 Daniel Colascione <address@hidden>
* configure.ac (W32_RES, W32_RES_LINK, WINDRES): Teach the cygw32
=== modified file 'configure.ac'
--- a/configure.ac 2012-12-10 17:52:35 +0000
+++ b/configure.ac 2012-12-10 20:27:33 +0000
@@ -2187,15 +2187,14 @@
AC_SUBST(LIBGNUTLS_CFLAGS)
dnl inotify is only available on GNU/Linux.
-HAVE_INOTIFY=no
if test "${with_inotify}" = "yes"; then
AC_CHECK_HEADERS(sys/inotify.h)
if test "$ac_cv_header_sys_inotify_h" = yes ; then
- AC_CHECK_FUNCS(inotify_init1 inotify_add_watch inotify_rm_watch,
HAVE_INOTIFY=yes)
+ AC_CHECK_FUNC(inotify_init1)
fi
fi
-if test "${HAVE_INOTIFY}" = "yes"; then
- AC_DEFINE(HAVE_INOTIFY, [1], [Define to 1 to use inotify])
+if test "$ac_cv_func_inotify_init1" = yes; then
+ AC_DEFINE(HAVE_INOTIFY, 1, [Define to 1 to use inotify.])
fi
dnl Do not put whitespace before the #include statements below.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111176: * configure.ac (HAVE_INOTIFY): Speed up configure-time test.,
Paul Eggert <=