mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
Rename HAVE_FUSE to WITH_FUSE
This commit is contained in:
parent
bccd4a8cbc
commit
8c1e9be48f
@ -1440,7 +1440,7 @@ AS_IF([test "x$with_fuse" != "xno"],
|
|||||||
[with_fuse=yes
|
[with_fuse=yes
|
||||||
AC_SUBST([FUSE_CFLAGS])
|
AC_SUBST([FUSE_CFLAGS])
|
||||||
AC_SUBST([FUSE_LIBS])
|
AC_SUBST([FUSE_LIBS])
|
||||||
AC_DEFINE_UNQUOTED([HAVE_FUSE], 1, [whether fuse is available for libvirt lxc])
|
AC_DEFINE_UNQUOTED([WITH_FUSE], 1, [whether fuse is available for libvirt lxc])
|
||||||
],
|
],
|
||||||
[if test "x$with_fuse" = "xyes" ; then
|
[if test "x$with_fuse" = "xyes" ; then
|
||||||
AC_MSG_ERROR([You must install fuse library to compile libvirt])
|
AC_MSG_ERROR([You must install fuse library to compile libvirt])
|
||||||
@ -1449,7 +1449,7 @@ AS_IF([test "x$with_fuse" != "xno"],
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL([HAVE_FUSE], [test "x$with_fuse" = "xyes"])
|
AM_CONDITIONAL([WITH_FUSE], [test "x$with_fuse" = "xyes"])
|
||||||
|
|
||||||
dnl virsh libraries
|
dnl virsh libraries
|
||||||
AC_CHECK_HEADERS([readline/readline.h])
|
AC_CHECK_HEADERS([readline/readline.h])
|
||||||
|
@ -596,7 +596,7 @@ cleanup:
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_FUSE
|
#if WITH_FUSE
|
||||||
static int lxcContainerMountProcFuse(virDomainDefPtr def,
|
static int lxcContainerMountProcFuse(virDomainDefPtr def,
|
||||||
const char *srcprefix)
|
const char *srcprefix)
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#define VIR_FROM_THIS VIR_FROM_LXC
|
#define VIR_FROM_THIS VIR_FROM_LXC
|
||||||
|
|
||||||
#if HAVE_FUSE
|
#if WITH_FUSE
|
||||||
|
|
||||||
static const char *fuse_meminfo_path = "/meminfo";
|
static const char *fuse_meminfo_path = "/meminfo";
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
# define FUSE_USE_VERSION 26
|
# define FUSE_USE_VERSION 26
|
||||||
|
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
# if HAVE_FUSE
|
# if WITH_FUSE
|
||||||
# include <fuse.h>
|
# include <fuse.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user