From: Miklos Szeredi Date: Tue, 22 Nov 2005 21:45:33 +0000 (+0000) Subject: new version X-Git-Tag: fuse_2_4_2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=968f7b933137b49467446283f3f6f17fc3ff993e;p=qemu-gpiodev%2Flibfuse.git new version --- 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