mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-23 04:04:31 +08:00
new version
This commit is contained in:
parent
a45262ae19
commit
968f7b9331
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user