summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormalc2008-07-19 18:15:16 +0200
committermalc2008-07-19 18:15:16 +0200
commite4c63a6a774025b14c07da8c8eb0c87ab96f8a90 (patch)
tree90bc27940aedfb65566bbc5a1ca689083704fe0e /configure
parentRevert "QEMU keyboard issue with Gujin-2.2" (Avi Kivity). (diff)
downloadqemu-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-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index f9707cdc70..535aa24628 100755
--- a/configure
+++ b/configure
@@ -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