guestfs-tools/0004-build-Remove-dependency-on-perl-Sys-Virt.patch
Richard W.M. Jones 6f2364b74b Initial import (RHBZ#1942114).
Created as a split from libguestfs, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1942114
2021-03-25 18:58:35 +00:00

31 lines
1.1 KiB
Diff

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