summaryrefslogtreecommitdiff
path: root/packages/inotify-tools/files/no-tests.patch
blob: 0df45c0e7231e7a451313d6fcf49c898ed708218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: inotify-tools-3.12/configure.ac
===================================================================
--- inotify-tools-3.12.orig/configure.ac	2007-11-26 22:23:15.000000000 +0100
+++ inotify-tools-3.12/configure.ac	2007-11-26 22:23:29.000000000 +0100
@@ -42,16 +42,16 @@
 
 
 # Checks for header files.
-AC_CHECK_HEADERS([sys/inotify.h mcheck.h])
-AC_LANG(C)
-AC_MSG_CHECKING([whether sys/inotify.h actually works])
-AC_RUN_IFELSE(
-  AC_LANG_PROGRAM([[#include <sys/inotify.h>]],
-                  [[return (-1 == inotify_init());]]
-  ),
-  [AC_MSG_RESULT([yup]); AC_DEFINE([SYS_INOTIFY_H_EXISTS_AND_WORKS],[1],[sys/inotify.h exists and works correctly])],
-  [AC_MSG_RESULT([nope, using own inotify headers])]
-)
+#AC_CHECK_HEADERS([sys/inotify.h mcheck.h])
+#AC_LANG(C)
+#AC_MSG_CHECKING([whether sys/inotify.h actually works])
+#AC_RUN_IFELSE(
+#  AC_LANG_PROGRAM([[#include <sys/inotify.h>]],
+#                  [[return (-1 == inotify_init());]]
+#  ),
+#  [AC_MSG_RESULT([yup]); AC_DEFINE([SYS_INOTIFY_H_EXISTS_AND_WORKS],[1],[sys/inotify.h exists and works correctly])],
+#  [AC_MSG_RESULT([nope, using own inotify headers])]
+#)