diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-19 16:15:16 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-19 16:15:16 +0000 |
commit | e4c63a6a774025b14c07da8c8eb0c87ab96f8a90 (patch) | |
tree | 90bc27940aedfb65566bbc5a1ca689083704fe0e | |
parent | 889bec69d67d36f58f5a1a05fc2832816cca8d6f (diff) |
Reject invalid audio drivers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4906 c046a42c-6fe2-441c-8c8c-71466251a162
-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 |