From 968f7b933137b49467446283f3f6f17fc3ff993e Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 22 Nov 2005 21:45:33 +0000 Subject: [PATCH] new version --- kernel/configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/configure.ac b/kernel/configure.ac index 9800b3c..7a0ac61 100644 --- a/kernel/configure.ac +++ b/kernel/configure.ac @@ -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 -- 2.30.2