new version origin/fuse_2_4_bugfix fuse_2_4_2
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 22 Nov 2005 21:45:33 +0000 (21:45 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Tue, 22 Nov 2005 21:45:33 +0000 (21:45 +0000)
kernel/configure.ac

index 9800b3cfd8136022e92703a035ae229719ef7046..7a0ac611b0d3961a0a7a146cc834b9b1571da8b4 100644 (file)
@@ -36,11 +36,12 @@ if test -z "$enable_kernel_module" -a -z "$kernelbuild" && echo "$runver" | grep
        fi
        if test "$checkmodule" = yes; then
                AC_MSG_CHECKING([if FUSE module is from official kernel])
-                       if fgrep -q "fuse distribution version: " /lib/modules/${runver}/kernel/fs/fuse/fuse.ko 2> /dev/null; then
-                       AC_MSG_RESULT([no])
-               else
+                       fusemodule="/lib/modules/${runver}/kernel/fs/fuse/fuse.ko"
+                       if test -f $fusemodule && ! fgrep -q "fuse distribution version: " $fusemodule; then
                        AC_MSG_RESULT([yes])
                        ENABLE_FUSE_MODULE=n
+               else
+                       AC_MSG_RESULT([no])
                fi
        fi
 fi