summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-19 16:15:16 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-19 16:15:16 +0000
commite4c63a6a774025b14c07da8c8eb0c87ab96f8a90 (patch)
tree90bc27940aedfb65566bbc5a1ca689083704fe0e /configure
parent889bec69d67d36f58f5a1a05fc2832816cca8d6f (diff)
downloadhqemu-e4c63a6a774025b14c07da8c8eb0c87ab96f8a90.zip
hqemu-e4c63a6a774025b14c07da8c8eb0c87ab96f8a90.tar.gz
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 f9707cd..535aa24 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
OpenPOWER on IntegriCloud