diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-03-20 10:05:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-03-20 16:01:51 +0000 |
commit | 373967b2ed630c80462ef2847709fb93f33b8951 (patch) | |
tree | 9ccbc29a168ccd29c4ad0fc69e0aed9e27b5a6ae /configure | |
parent | c8645752ce31cc044ecc5f969a986fdcb6aab590 (diff) | |
download | qemu-373967b2ed630c80462ef2847709fb93f33b8951.zip qemu-373967b2ed630c80462ef2847709fb93f33b8951.tar.gz qemu-373967b2ed630c80462ef2847709fb93f33b8951.tar.bz2 |
audio: catch missing sdl support
sdl is probed before audio, so we can simply look at $sdl so see
whenever we have support or not. Throw an error in case sdl audio
is requested without sdl being available.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1490000743-3615-1-git-send-email-kraxel@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2888,6 +2888,12 @@ for drv in $audio_drv_list; do audio_pt_int="yes" ;; + sdl) + if test "$sdl" = "no"; then + error_exit "sdl not found or disabled, can not use sdl audio driver" + fi + ;; + coreaudio) libs_softmmu="-framework CoreAudio $libs_softmmu" ;; @@ -2901,8 +2907,8 @@ for drv in $audio_drv_list; do libs_softmmu="$oss_lib $libs_softmmu" ;; - sdl|wav) - # XXX: Probes for CoreAudio, DirectSound, SDL(?) + wav) + # XXX: Probes for CoreAudio, DirectSound ;; *) |