summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2015-03-18 02:40:15 +0000
committerKoichiro IWAO <meta@vmeta.jp>2015-03-18 02:40:15 +0000
commit67cad0d37478c4aab4efe59cb4ba1f79498d258e (patch)
tree3213a34e1dc3bca84be86e016ed346997b2b600b
parent9c2951fa6cb70159904bc9932c6c48b571b21146 (diff)
downloadxrdp-proprietary-67cad0d37478c4aab4efe59cb4ba1f79498d258e.tar.gz
xrdp-proprietary-67cad0d37478c4aab4efe59cb4ba1f79498d258e.zip
configure: use PKG_CHECK_MODULES to check fuse
fuse has fuse.pc file for pkg-config. this is more reliable.
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index cef5e921..78553305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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