]> xenbits.xensource.com Git - qemu-xen-4.2-testing.git/commitdiff
Enable sound xen-4.0.0-rc6
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 9 Mar 2010 17:55:41 +0000 (17:55 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 9 Mar 2010 17:55:41 +0000 (17:55 +0000)
This enables sound emulation by fixing the missing feature in configure.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Contributed-by: Christian Motschke <christian@motschke.de>
(Trivial 3-line patch supplied without S-o-b from contributor.)

configure

index 920dd1e212f9eff616f76490ebf14e0ed2fbff24..904e019fd8c4ac699c60ca622ae86772ee4d31f8 100755 (executable)
--- a/configure
+++ b/configure
@@ -1382,6 +1382,9 @@ if test "$vde" = "yes" ; then
   echo "#define CONFIG_VDE 1" >> $config_h
   echo "VDE_LIBS=-lvdeplug" >> $config_mak
 fi
+if ! test -z "$audio_card_list"; then
+       echo "CONFIG_AUDIO=yes" >> $config_mak
+fi
 for card in $audio_card_list; do
     def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
     echo "$def=yes" >> $config_mak