1 From 47efe06984ae1e0ba914ebcf9306d348a5ecd366 Mon Sep 17 00:00:00 2001
2 From: "Richard W.M. Jones" <rjones@redhat.com>
3 Date: Tue, 23 Mar 2021 13:52:19 +0000
4 Subject: [PATCH 4/7] build: Remove dependency on perl Sys::Virt.
6 In libguestfs this used to be required to run tests against local
7 guests, but it's not needed in either libguestfs or guestfs-tools any
10 Fixes: commit 4354a3126152a2748cc9097cba139b3908ccc342
12 m4/guestfs-perl.m4 | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/m4/guestfs-perl.m4 b/m4/guestfs-perl.m4
16 index 4c889d843a..c8337ed9b5 100644
17 --- a/m4/guestfs-perl.m4
18 +++ b/m4/guestfs-perl.m4
19 @@ -66,7 +66,7 @@ AM_CONDITIONAL([HAVE_PERL],
20 dnl Check for Perl modules needed by Perl virt tools (virt-df, etc.)
21 AS_IF([test "x$PERL" != "xno"],[
22 missing_perl_modules=no
23 - for pm in Pod::Usage Getopt::Long Sys::Virt Locale::TextDomain Win::Hivex Win::Hivex::Regedit ; do
24 + for pm in Pod::Usage Getopt::Long Locale::TextDomain Win::Hivex Win::Hivex::Regedit ; do
25 AC_MSG_CHECKING([for $pm])
26 if ! $PERL -M$pm -e1 >&AS_MESSAGE_LOG_FD 2>&1; then