From 90520ee4ca53e51e35df1e82c0068067f662882e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Fri, 22 Jan 2021 21:44:30 +0100 Subject: [PATCH] configure: Only check for audio drivers if system-mode is selected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Acked-by: Gerd Hoffmann Message-Id: <20210122204441.2145197-2-philmd@redhat.com> Acked-by: Paolo Bonzini Signed-off-by: Thomas Huth --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index dcc5ea7d6309..87de49e2c217 100755 --- a/configure +++ b/configure @@ -2319,6 +2319,12 @@ if test -z "$want_tools"; then fi fi +########################################## +# Disable features only meaningful for system-mode emulation +if test "$softmmu" = "no"; then + audio_drv_list="" +fi + ########################################## # Some versions of Mac OS X incorrectly define SIZE_MAX cat > $TMPC << EOF