summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGerd Hoffmann2018-03-06 08:40:50 +0100
committerGerd Hoffmann2018-03-12 11:18:27 +0100
commitce3dc033df2ecbbe45555d996549d1f579a23346 (patch)
tree15ddb7846580b92ad9812995947a985f3968c8a1 /configure
parentbuild: enable audio modules (diff)
downloadqemu-ce3dc033df2ecbbe45555d996549d1f579a23346.tar.gz
qemu-ce3dc033df2ecbbe45555d996549d1f579a23346.tar.xz
qemu-ce3dc033df2ecbbe45555d996549d1f579a23346.zip
audio/alsa: build as module
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180306074053.22856-5-kraxel@redhat.com
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 973dbb99ac..b150ee80c6 100755
--- a/configure
+++ b/configure
@@ -5973,7 +5973,12 @@ fi
echo "CONFIG_AUDIO_DRIVERS=$audio_drv_list" >> $config_host_mak
for drv in $audio_drv_list; do
def=CONFIG_AUDIO_$(echo $drv | LC_ALL=C tr '[a-z]' '[A-Z]')
- echo "$def=y" >> $config_host_mak
+ case "$drv" in
+ alsa)
+ echo "$def=m" >> $config_host_mak ;;
+ *)
+ echo "$def=y" >> $config_host_mak ;;
+ esac
done
echo "ALSA_LIBS=$alsa_libs" >> $config_host_mak
echo "PULSE_LIBS=$pulse_libs" >> $config_host_mak