audio: catch missing sdl support
commit373967b2ed630c80462ef2847709fb93f33b8951
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 20 Mar 2017 09:05:43 +0000 (20 10:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Mar 2017 16:01:51 +0000 (20 16:01 +0000)
tree9ccbc29a168ccd29c4ad0fc69e0aed9e27b5a6ae
parentc8645752ce31cc044ecc5f969a986fdcb6aab590
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>
configure