aboutsummaryrefslogtreecommitdiff
path: root/sysutils/inotify-tools/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/inotify-tools/files/patch-configure.ac')
-rw-r--r--sysutils/inotify-tools/files/patch-configure.ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/inotify-tools/files/patch-configure.ac b/sysutils/inotify-tools/files/patch-configure.ac
new file mode 100644
index 000000000000..beecd0234aa2
--- /dev/null
+++ b/sysutils/inotify-tools/files/patch-configure.ac
@@ -0,0 +1,18 @@
+--- configure.ac.orig 2014-11-09 20:57:04 UTC
++++ configure.ac
+@@ -44,6 +44,7 @@ AM_CONDITIONAL([STATIC_BINARY_ENABLE], t
+
+
+ # Checks for libraries.
++AC_SEARCH_LIBS(inotify_init, inotify)
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([sys/inotify.h mcheck.h])
+@@ -62,6 +63,7 @@ AC_C_CONST
+ AC_C_INLINE
+
+ # Checks for library functions.
++AC_CHECK_FUNCS(stat64, [], [CPPFLAGS="$CPPFLAGS -Dstat64=stat -Dlstat64=lstat"])
+
+ # Set variables used in man page templates
+ MAN_DATE=$(date +'%B %d, %Y')