]>
Commit | Line | Data |
---|---|---|
92ae11e3 SS |
1 | From bf0971190884b664ef38d8fc42199fca8e496e54 Mon Sep 17 00:00:00 2001 |
2 | From: Jakub Hrozek <jhrozek@redhat.com> | |
3 | Date: Fri, 18 Nov 2016 12:19:02 +0100 | |
4 | Subject: [PATCH 30/39] BUILD: Fix a typo in inotify.m4 | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | This typo prevented HAVE_INOTIFY from ever being set and as an effect, | |
10 | prevented /etc/resolv.conf inotify detection from working | |
11 | ||
12 | Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> | |
13 | Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> | |
14 | (cherry picked from commit 2927dc45b9bc810f4f55bce165bb96405129e693) | |
15 | (cherry picked from commit 495289cfa922b00278aa91d433489403e792304e) | |
16 | --- | |
17 | src/external/inotify.m4 | 4 ++-- | |
18 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
19 | ||
20 | diff --git a/src/external/inotify.m4 b/src/external/inotify.m4 | |
21 | index 9572f6d2f..25259a817 100644 | |
22 | --- a/src/external/inotify.m4 | |
23 | +++ b/src/external/inotify.m4 | |
24 | @@ -6,8 +6,8 @@ AC_DEFUN([AM_CHECK_INOTIFY], | |
25 | AC_MSG_CHECKING([whether sys/inotify.h actually works]) | |
26 | AC_LINK_IFELSE( | |
27 | [AC_LANG_SOURCE([ | |
28 | -#ifdef HAVE_SYS_INOTITY_H | |
29 | -#include <sys/inotify.h>, | |
30 | +#ifdef HAVE_SYS_INOTIFY_H | |
31 | +#include <sys/inotify.h> | |
32 | #endif | |
33 | int main () { | |
34 | return (-1 == inotify_init()); | |
35 | -- | |
36 | 2.11.0 | |
37 |