summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep/config.m4
blob: 46787f9f0fddbe8680952d5b8f7bec96fefc49b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h)
AC_CHECK_FUNC(inotify_init)
AC_CHECK_DECL(__NR_inotify_init)

SMB_ENABLE(sys_notify_inotify, NO)

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_decl___NR_inotify_init"; then
    SMB_ENABLE(sys_notify_inotify, YES)
fi