9b0ee6f507a289b928f07ec976838fd4f22d44df
[openafs.git] / src / cf / fuse.m4
1 dnl
2 dnl $Id$
3 dnl
4 dnl FUSE autoconf glue
5 dnl
6
7 AC_DEFUN([OPENAFS_FUSE],[
8
9 AC_ARG_ENABLE([fuse-client],
10     [AS_HELP_STRING([--enable-fuse-client],[enable building of the FUSE userspace client, afsd.fuse])],,
11     [enable_fuse_client="no"])
12
13 if test "x$enable_fuse_client" = "xyes" ; then
14    PKG_PROG_PKG_CONFIG
15    PKG_CHECK_MODULES([FUSE], [fuse])
16    ENABLE_FUSE_CLIENT=afsd.fuse
17    CLIENT_UAFS_DEP=libuafs
18 fi
19
20 AC_SUBST(ENABLE_FUSE_CLIENT)
21 AC_SUBST(CLIENT_UAFS_DEP)
22 AC_SUBST(FUSE_CFLAGS)
23 AC_SUBST(FUSE_LIBS)
24
25 ])dnl