]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-add-missing-inotify-test-20050424
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Sun, 24 Apr 2005 15:55:15 +0000 (15:55 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 24 Apr 2005 15:55:15 +0000 (15:55 +0000)
so we actually detect the inotify sem

(cherry picked from commit 9213494ea84370f095d1d43e81b78fa11e5529e7)

acinclude.m4

index 84484bceabefd8c0d3a0c9ae6c35960a9f5be040..cf8df8b4c611c072548e1bf3ee2c5ccc1c42bfd9 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