From: Ian Jackson Date: Tue, 9 Mar 2010 17:55:41 +0000 (+0000) Subject: Enable sound X-Git-Tag: xen-4.0.0-rc6 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4ee8bdd513b4d7af0e14434f4c53887779a33eda;p=qemu-xen-4.0-testing.git Enable sound This enables sound emulation by fixing the missing feature in configure. Signed-off-by: Ian Jackson Contributed-by: Christian Motschke (Trivial 3-line patch supplied without S-o-b from contributor.) --- diff --git a/configure b/configure index 920dd1e2..904e019f 100755 --- 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