svn commit: samba r15029 - in branches/SAMBA_4_0/source/ntvfs/sysdep: .

tridge at samba.org tridge at samba.org
Tue Apr 11 01:19:21 GMT 2006


Author: tridge
Date: 2006-04-11 01:19:20 +0000 (Tue, 11 Apr 2006)
New Revision: 15029

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15029

Log:

fixed the detection of inotify

Modified:
   branches/SAMBA_4_0/source/ntvfs/sysdep/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/sysdep/config.m4
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/sysdep/config.m4	2006-04-10 23:32:05 UTC (rev 15028)
+++ branches/SAMBA_4_0/source/ntvfs/sysdep/config.m4	2006-04-11 01:19:20 UTC (rev 15029)
@@ -1,6 +1,6 @@
 AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h)
 AC_CHECK_FUNC(inotify_init)
-AC_CHECK_DECL(__NR_inotify_init)
+AC_HAVE_DECL(__NR_inotify_init, [#include <asm/unistd.h>])
 
 SMB_ENABLE(sys_notify_inotify, NO)
 
@@ -8,6 +8,6 @@
     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
+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



More information about the samba-cvs mailing list