summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b8a7226e92..db7ac60c9b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -729,8 +729,7 @@ AC_TRY_RUN([
#define F_NOTIFY 1026
#endif
main() {
- signal(SIGIO, SIG_IGN);
- exit(fcntl(open("/tmp", O_RDONLY), F_NOTIFY, 0xF) != 0);
+ exit(fcntl(open("/tmp", O_RDONLY), F_NOTIFY, 0) == -1 ? 1 : 0);
}
],
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes,samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no,samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=cross)])