configure: Only check for audio drivers if system-mode is selected

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210122204441.2145197-2-philmd@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2021-01-22 21:44:30 +01:00 committed by Thomas Huth
parent db0108d5d8
commit 90520ee4ca
1 changed files with 6 additions and 0 deletions

6
configure vendored
View File

@ -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