add-missing-inotify-test-20050424
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Sun, 24 Apr 2005 15:54:03 +0000 (15:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 24 Apr 2005 15:54:03 +0000 (15:54 +0000)
so we actually detect the inotify sem

acinclude.m4

index 84484bc..cf8df8b 100644 (file)
@@ -697,6 +697,9 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                 if test "x$ac_cv_linux_fs_struct_inode_has_inotify_lock" = "xyes"; then 
                  AC_DEFINE(STRUCT_INODE_HAS_INOTIFY_LOCK, 1, [define if your struct inode has inotify_lock])
                 fi
+                if test "x$ac_cv_linux_fs_struct_inode_has_inotify_sem" = "xyes"; then 
+                 AC_DEFINE(STRUCT_INODE_HAS_INOTIFY_SEM, 1, [define if your struct inode has inotify_sem])
+                fi
                 if test "x$ac_cv_linux_func_recalc_sigpending_takes_void" = "xyes"; then 
                  AC_DEFINE(RECALC_SIGPENDING_TAKES_VOID, 1, [define if your recalc_sigpending takes void])
                 fi