Commit 1c9b2a52967f03ad903c0011ed392d879a3b5902

Authored by malc
1 parent e4c63a6a

Improve the audio driver check

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4907 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
configure
@@ -796,7 +796,7 @@ for drv in $audio_drv_list; do @@ -796,7 +796,7 @@ for drv in $audio_drv_list; do
796 ;; 796 ;;
797 797
798 *) 798 *)
799 - echo "$audio_possible_drivers" | grep -q "$drv" || { 799 + echo "$audio_possible_drivers" | grep -q "\<$drv\>" || {
800 echo 800 echo
801 echo "Error: Unknown driver '$drv' selected" 801 echo "Error: Unknown driver '$drv' selected"
802 echo "Possible drivers are: $audio_possible_drivers" 802 echo "Possible drivers are: $audio_possible_drivers"