linux-use-results-of-all-inode-configure-tests-20020122
authorDerrick Brashear <shadow@dementia.org>
Wed, 23 Jan 2002 00:43:35 +0000 (00:43 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 23 Jan 2002 00:43:35 +0000 (00:43 +0000)
we tested for and then failed to use things before

acconfig.h
acinclude.m4

index ece70bd..f2d0879 100644 (file)
@@ -31,6 +31,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
 #undef INODE_SETATTR_NOT_VOID
 #undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
 #undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
+#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
+#undef STRUCT_INODE_HAS_I_DEVICES
 
 /* glue for RedHat kernel bug */
 #undef ENABLE_REDHAT_BUILDSYS
index ff29c2b..4f70d87 100644 (file)
@@ -140,6 +140,12 @@ case $system in
                 if test "x$ac_cv_linux_fs_struct_inode_has_i_truncate_sem" = "xyes"; then 
                  AC_DEFINE(STRUCT_INODE_HAS_I_TRUNCATE_SEM)
                 fi
+                if test "x$ac_cv_linux_fs_struct_inode_has_i_devices" = "xyes"; then 
+                 AC_DEFINE(STRUCT_INODE_HAS_I_DEVICES)
+                fi
+                if test "x$ac_cv_linux_fs_struct_inode_has_i_dirty_data_buffers" = "xyes"; then 
+                 AC_DEFINE(STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS)
+                fi
                 :
                fi
                 ;;