For consistncy with --target-list accept coma separated items in --audio-card/drv-list

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4964 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
malc 2008-07-29 12:58:44 +00:00
parent 5ce042b1cf
commit 2fa7d3bf59

3
configure vendored
View File

@ -271,7 +271,7 @@ for opt do
;; ;;
--fmod-inc=*) fmod_inc="$optarg" --fmod-inc=*) fmod_inc="$optarg"
;; ;;
--audio-card-list=*) audio_card_list="$optarg" --audio-card-list=*) audio_card_list=`echo "$optarg" | sed -e 's/,/ /g'`
;; ;;
--audio-drv-list=*) audio_drv_list="$optarg" --audio-drv-list=*) audio_drv_list="$optarg"
;; ;;
@ -783,6 +783,7 @@ EOF
fi fi
} }
audio_drv_list=`echo "$audio_drv_list" | sed -e 's/,/ /g'`
for drv in $audio_drv_list; do for drv in $audio_drv_list; do
case $drv in case $drv in
alsa) alsa)