Files
wmic/Samba/source/ntvfs/sysdep/config.m4
T

18 lines
612 B
Plaintext
Raw Normal View History

2019-02-16 00:16:52 +01:00
AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h sys/inotify.h)
AC_CHECK_FUNC(inotify_init)
AC_HAVE_DECL(__NR_inotify_init, [#include <asm/unistd.h>])
SMB_ENABLE(sys_notify_inotify, NO)
if test x"$ac_cv_func_inotify_init" = x"yes" -a x"$ac_cv_header_sys_inotify_h" = x"yes"; then
SMB_ENABLE(sys_notify_inotify, YES)
fi
if test x"$ac_cv_func_inotify_init" = x"yes" -a x"$ac_cv_header_linux_inotify_h" = x"yes"; then
SMB_ENABLE(sys_notify_inotify, YES)
fi
if test x"$ac_cv_header_linux_inotify_h" = x"yes" -a x"$ac_cv_have___NR_inotify_init_decl" = x"yes"; then
SMB_ENABLE(sys_notify_inotify, YES)
fi