| Line | |
|---|
| 1 | AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h sys/inotify.h)
|
|---|
| 2 | AC_CHECK_FUNC(inotify_init)
|
|---|
| 3 | AC_HAVE_DECL(__NR_inotify_init, [#include <asm/unistd.h>])
|
|---|
| 4 |
|
|---|
| 5 | SMB_ENABLE(sys_notify_inotify, NO)
|
|---|
| 6 |
|
|---|
| 7 | if test x"$ac_cv_func_inotify_init" = x"yes" -a x"$ac_cv_header_sys_inotify_h" = x"yes"; then
|
|---|
| 8 | SMB_ENABLE(sys_notify_inotify, YES)
|
|---|
| 9 | fi
|
|---|
| 10 |
|
|---|
| 11 | if test x"$ac_cv_func_inotify_init" = x"yes" -a x"$ac_cv_header_linux_inotify_h" = x"yes"; then
|
|---|
| 12 | SMB_ENABLE(sys_notify_inotify, YES)
|
|---|
| 13 | fi
|
|---|
| 14 |
|
|---|
| 15 | if test x"$ac_cv_header_linux_inotify_h" = x"yes" -a x"$ac_cv_have___NR_inotify_init_decl" = x"yes"; then
|
|---|
| 16 | SMB_ENABLE(sys_notify_inotify, YES)
|
|---|
| 17 | fi
|
|---|
| 18 |
|
|---|
| 19 | AC_HAVE_DECL(F_SETLEASE, [#include <fcntl.h>])
|
|---|
| 20 | AC_HAVE_DECL(SA_SIGINFO, [#include <signal.h>])
|
|---|
| 21 |
|
|---|
| 22 | SMB_ENABLE(sys_lease_linux, NO)
|
|---|
| 23 |
|
|---|
| 24 | if test x"$ac_cv_have_F_SETLEASE_decl" = x"yes" \
|
|---|
| 25 | -a x"$ac_cv_have_SA_SIGINFO_decl" = x"yes"; then
|
|---|
| 26 | SMB_ENABLE(sys_lease_linux, YES)
|
|---|
| 27 | fi
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.