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 # checking for fuse
if test "x$enable_fuse" = "xyes" if test "x$enable_fuse" = "xyes"
then then
AC_CHECK_HEADER([fuse.h], [], PKG_CHECK_MODULES([FUSE], [fuse >= 2.6], [],
[AC_MSG_ERROR([please install libfuse-dev or fuse-devel])], [AC_MSG_ERROR([please install libfuse-dev or fuse-devel])])
[#define _FILE_OFFSET_BITS 64])
fi fi
# checking for opus # checking for opus

Loading…
Cancel
Save