From b9634e3bb771429c88ae27101915390d2e8ac687 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 1 Dec 2023 10:43:09 +0100 Subject: [PATCH] configure: Use `elif` instead of two separate `if` blocks. --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 7ddf754ab..96e196e84 100644 --- a/configure.ac +++ b/configure.ac @@ -7142,11 +7142,10 @@ if test "x$with_libxml2" = "xyes" && test "x$with_libvirt" = "xyes"; then plugin_virt="yes" else plugin_virt="no" - if test "x$with_libxml2" != "xyes"; then - plugin_virt="$with_libxml2" - fi if test "x$with_libvirt" != "xyes"; then plugin_virt="$with_libvirt" + elif test "x$with_libxml2" != "xyes"; then + plugin_virt="$with_libxml2" fi fi -- 2.47.2