Windows: remove AFS_WIN95_ENV
[openafs.git] / acinclude.m4
index 8f6ccf1..92cad6f 100644 (file)
@@ -199,7 +199,7 @@ AC_ARG_ENABLE([optimize-kernel],
         [disable compilation of the kernel module with optimization (defaults
          based on platform)])],
     , 
-    [enable_optimize_kernel="yes"])
+    [enable_optimize_kernel=""])
 AC_ARG_ENABLE([debug-lwp],
     [AS_HELP_STRING([--enable-debug-lwp],
         [enable compilation of the LWP code with debugging information
@@ -902,7 +902,7 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                                     [zero_user_segments(NULL, 0, 0, 0, 0);])
                 AC_CHECK_LINUX_FUNC([noop_fsync],
                                     [#include <linux/fs.h>],
-                                    [noop_fsync(NULL, 0, 0, 0);])
+                                    [void *address = &noop_fsync; printk("%p\n", address)];)
 
                 dnl Consequences - things which get set as a result of the
                 dnl                above tests
@@ -950,6 +950,8 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                 LINUX_REGISTER_SYSCTL_TABLE_NOFLAG
                 LINUX_HAVE_DCACHE_LOCK
                 LINUX_D_COUNT_IS_INT
+                LINUX_IOP_MKDIR_TAKES_UMODE_T
+                LINUX_IOP_CREATE_TAKES_UMODE_T
 
                 dnl If we are guaranteed that keyrings will work - that is
                 dnl  a) The kernel has keyrings enabled