summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3e84e11d..b30b9f9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -718,7 +718,12 @@ AS_IF([test "x$enable_fuse" != "xno"],
[PKG_CHECK_MODULES([FUSE],[fuse],
[AC_SUBST([FUSE_CFLAGS])
AC_SUBST([FUSE_LIBS])
- AC_DEFINE([HAVE_FUSE],[1],[Define to 1 if you have FUSE])],
+ AC_DEFINE([HAVE_FUSE],[1],[Define to 1 if you have FUSE])
+ old_LIBS="$LIBS"
+ LIBS="$FUSE_LIBS $LIBS"
+ AC_CHECK_FUNCS([fuse_opt_add_opt_escaped])
+ LIBS="$old_LIBS"
+ ],
[enable_fuse=no
AC_MSG_WARN([FUSE library and headers are missing, so optional FUSE module won't be built])
])