From: Philippe Mathieu-Daudé Date: Fri, 22 Jan 2021 20:44:30 +0000 (+0100) Subject: configure: Only check for audio drivers if system-mode is selected X-Git-Tag: v6.0.0-rc0~123^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90520ee4ca53e51e35df1e82c0068067f662882e;p=thirdparty%2Fqemu.git configure: Only check for audio drivers if system-mode is selected 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 --- diff --git a/configure b/configure index dcc5ea7d630..87de49e2c21 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