summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authormalc2008-07-19 18:57:30 +0200
committermalc2008-07-19 18:57:30 +0200
commit1c9b2a52967f03ad903c0011ed392d879a3b5902 (patch)
tree1035e6315b9a91b5212a55f6669679356d0f5fc5 /configure
parentReject invalid audio drivers (diff)
downloadqemu-1c9b2a52967f03ad903c0011ed392d879a3b5902.tar.gz
qemu-1c9b2a52967f03ad903c0011ed392d879a3b5902.tar.xz
qemu-1c9b2a52967f03ad903c0011ed392d879a3b5902.zip
Improve the audio driver check
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4907 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 535aa24628..c43fa88bb1 100755
--- a/configure
+++ b/configure
@@ -796,7 +796,7 @@ for drv in $audio_drv_list; do
;;
*)
- echo "$audio_possible_drivers" | grep -q "$drv" || {
+ echo "$audio_possible_drivers" | grep -q "\<$drv\>" || {
echo
echo "Error: Unknown driver '$drv' selected"
echo "Possible drivers are: $audio_possible_drivers"