mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lib/launch-libvirt.c: Assume libvirt >= 9.0.0 and passt support
Libvirt 9.0.0 was released in January 2023, and it seems safe to assume that if you're enabling the non-default backend, you can at least use a new version of libvirt. If you're using new libvirt, might as well also assume passt is available.
This commit is contained in:
committed by
rwmjones
parent
d730fc8b7c
commit
48bad58024
@@ -264,7 +264,7 @@ AC_ARG_WITH([libvirt],[
|
||||
[],
|
||||
[with_libvirt=check])
|
||||
AS_IF([test "$with_libvirt" != "no"],[
|
||||
PKG_CHECK_MODULES([LIBVIRT], [libvirt >= 0.10.2],[
|
||||
PKG_CHECK_MODULES([LIBVIRT], [libvirt >= 9.0.0],[
|
||||
AC_SUBST([LIBVIRT_CFLAGS])
|
||||
AC_SUBST([LIBVIRT_LIBS])
|
||||
AC_DEFINE([HAVE_LIBVIRT],[1],[libvirt found at compile time.])
|
||||
|
||||
Reference in New Issue
Block a user