|
Pablo Greco |
40546a |
From 899e80657b58f8ef4c0faf452859fd9649d33b79 Mon Sep 17 00:00:00 2001
|
|
Pablo Greco |
40546a |
Message-Id: <899e80657b58f8ef4c0faf452859fd9649d33b79@dist-git>
|
|
Pablo Greco |
40546a |
From: Michal Privoznik <mprivozn@redhat.com>
|
|
Pablo Greco |
40546a |
Date: Thu, 27 Jun 2019 15:55:39 +0200
|
|
Pablo Greco |
40546a |
Subject: [PATCH] m4: Drop needless string checks
|
|
Pablo Greco |
40546a |
MIME-Version: 1.0
|
|
Pablo Greco |
40546a |
Content-Type: text/plain; charset=UTF-8
|
|
Pablo Greco |
40546a |
Content-Transfer-Encoding: 8bit
|
|
Pablo Greco |
40546a |
|
|
Pablo Greco |
40546a |
We provide default values for both MODPROBE and RMMOD and thus
|
|
Pablo Greco |
40546a |
there is no way that their paths can be empty strings.
|
|
Pablo Greco |
40546a |
|
|
Pablo Greco |
40546a |
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
Pablo Greco |
40546a |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
Pablo Greco |
40546a |
(cherry picked from commit 3c8d5762a9fcf3f7d23a41d0b49def0387ecddf7)
|
|
Pablo Greco |
40546a |
|
|
Pablo Greco |
40546a |
https://bugzilla.redhat.com/show_bug.cgi?id=1710575
|
|
Pablo Greco |
40546a |
|
|
Pablo Greco |
40546a |
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
Pablo Greco |
40546a |
Message-Id: <cb42f6a7b7462140e463a33a7b421ed441617266.1561643698.git.mprivozn@redhat.com>
|
|
Pablo Greco |
40546a |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
Pablo Greco |
40546a |
---
|
|
Pablo Greco |
40546a |
m4/virt-external-programs.m4 | 12 ++++--------
|
|
Pablo Greco |
40546a |
1 file changed, 4 insertions(+), 8 deletions(-)
|
|
Pablo Greco |
40546a |
|
|
Pablo Greco |
40546a |
diff --git a/m4/virt-external-programs.m4 b/m4/virt-external-programs.m4
|
|
Pablo Greco |
40546a |
index f1ae104b32..0f995998c3 100644
|
|
Pablo Greco |
40546a |
--- a/m4/virt-external-programs.m4
|
|
Pablo Greco |
40546a |
+++ b/m4/virt-external-programs.m4
|
|
Pablo Greco |
40546a |
@@ -67,14 +67,10 @@ AC_DEFUN([LIBVIRT_CHECK_EXTERNAL_PROGRAMS], [
|
|
Pablo Greco |
40546a |
[Location or name of the ovs-vsctl program])
|
|
Pablo Greco |
40546a |
AC_DEFINE_UNQUOTED([UDEVADM], ["$UDEVADM"],
|
|
Pablo Greco |
40546a |
[Location or name of the udevadm program])
|
|
Pablo Greco |
40546a |
- if test -n "$MODPROBE"; then
|
|
Pablo Greco |
40546a |
- AC_DEFINE_UNQUOTED([MODPROBE], ["$MODPROBE"],
|
|
Pablo Greco |
40546a |
- [Location or name of the modprobe program])
|
|
Pablo Greco |
40546a |
- fi
|
|
Pablo Greco |
40546a |
- if test -n "$RMMOD"; then
|
|
Pablo Greco |
40546a |
- AC_DEFINE_UNQUOTED([RMMOD], ["$RMMOD"],
|
|
Pablo Greco |
40546a |
- [Location or name of the rmmod program])
|
|
Pablo Greco |
40546a |
- fi
|
|
Pablo Greco |
40546a |
+ AC_DEFINE_UNQUOTED([MODPROBE], ["$MODPROBE"],
|
|
Pablo Greco |
40546a |
+ [Location or name of the modprobe program])
|
|
Pablo Greco |
40546a |
+ AC_DEFINE_UNQUOTED([RMMOD], ["$RMMOD"],
|
|
Pablo Greco |
40546a |
+ [Location or name of the rmmod program])
|
|
Pablo Greco |
40546a |
AC_DEFINE_UNQUOTED([SCRUB], ["$SCRUB"],
|
|
Pablo Greco |
40546a |
[Location or name of the scrub program (for wiping algorithms)])
|
|
Pablo Greco |
40546a |
AC_DEFINE_UNQUOTED([ADDR2LINE], ["$ADDR2LINE"],
|
|
Pablo Greco |
40546a |
--
|
|
Pablo Greco |
40546a |
2.22.0
|
|
Pablo Greco |
40546a |
|