diff options
author | malc | 2008-07-19 18:15:16 +0200 |
---|---|---|
committer | malc | 2008-07-19 18:15:16 +0200 |
commit | e4c63a6a774025b14c07da8c8eb0c87ab96f8a90 (patch) | |
tree | 90bc27940aedfb65566bbc5a1ca689083704fe0e /configure | |
parent | Revert "QEMU keyboard issue with Gujin-2.2" (Avi Kivity). (diff) | |
download | qemu-e4c63a6a774025b14c07da8c8eb0c87ab96f8a90.tar.gz qemu-e4c63a6a774025b14c07da8c8eb0c87ab96f8a90.tar.xz qemu-e4c63a6a774025b14c07da8c8eb0c87ab96f8a90.zip |
Reject invalid audio drivers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4906 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -795,6 +795,16 @@ for drv in $audio_drv_list; do "pa_simple *s = NULL; pa_simple_free(s); return 0;" ;; + *) + echo "$audio_possible_drivers" | grep -q "$drv" || { + echo + echo "Error: Unknown driver '$drv' selected" + echo "Possible drivers are: $audio_possible_drivers" + echo + exit 1 + } + ;; + esac done |