configure: use PKG_CHECK_MODULES to check fuse

fuse has fuse.pc file for pkg-config. this is more reliable.
ulab-next-nosound
Koichiro IWAO 9 years ago
parent 9c2951fa6c
commit 67cad0d374

@ -129,9 +129,8 @@ fi
# checking for fuse
if test "x$enable_fuse" = "xyes"
then
AC_CHECK_HEADER([fuse.h], [],
[AC_MSG_ERROR([please install libfuse-dev or fuse-devel])],
[#define _FILE_OFFSET_BITS 64])
PKG_CHECK_MODULES([FUSE], [fuse >= 2.6], [],
[AC_MSG_ERROR([please install libfuse-dev or fuse-devel])])
fi
# checking for opus

Loading…
Cancel
Save