diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-29 08:23:56 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-29 08:23:56 +0000 |
commit | d52d29f1b3c93c03182de26aa92f1d3e00968ae7 (patch) | |
tree | f465a3b7619cfe0fbbf12e081a514b60cc5023ae | |
parent | 7d9b43c8e0bee8d52151c5dc471d0a02e3e8c9a0 (diff) | |
download | samba-d52d29f1b3c93c03182de26aa92f1d3e00968ae7.tar.gz samba-d52d29f1b3c93c03182de26aa92f1d3e00968ae7.tar.bz2 samba-d52d29f1b3c93c03182de26aa92f1d3e00968ae7.zip |
simpler configure test
(This used to be commit 7752c14c313bf9b565828181647fb71457167d92)
-rw-r--r-- | source3/configure.in | 3 |
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)]) |