Skip to contentSkip to conversation

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

Qemu-devel malc 1 participant 1 message Jul 29, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 4964

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4964
Author:   malc
Date:     2008-07-29 12:58:44 +0000 (Tue, 29 Jul 2008)

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

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +2 -1
@@ -271,7 +271,7 @@
   ;;
   --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"
   ;;
@@ -783,6 +783,7 @@
     fi
 }
 
+audio_drv_list=`echo "$audio_drv_list" | sed -e 's/,/ /g'`
 for drv in $audio_drv_list; do
     case $drv in
     alsa)