From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfofX-0004bm-Hn for qemu-devel@nongnu.org; Thu, 01 May 2014 06:56:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfofR-0004Y0-Qx for qemu-devel@nongnu.org; Thu, 01 May 2014 06:56:47 -0400 Received: from vserver.eikelenboom.it ([84.200.39.61]:41503 helo=smtp.eikelenboom.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfofR-0004Xa-Ke for qemu-devel@nongnu.org; Thu, 01 May 2014 06:56:41 -0400 From: Sander Eikelenboom Date: Thu, 1 May 2014 12:56:04 +0200 Message-Id: <1398941765-6593-1-git-send-email-linux@eikelenboom.it> Subject: [Qemu-devel] [PATCH] Nowadays alsa and pulseaudio are most often the default soundsystem. When the headerfiles are found, enable the build of the alsa and pulseaudio audio driver for the default targetos. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: Sander Eikelenboom Signed-off-by: Sander Eikelenboom --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 2fbec59..de87d38 100755 --- a/configure +++ b/configure @@ -637,6 +637,12 @@ Haiku) ;; *) audio_drv_list="oss" + if test -f /usr/include/sys/asoundlib.h ; then + audio_drv_list="$audio_drv_list alsa" + fi + if test -f /usr/include/pulse/pulseaudio.h ; then + audio_drv_list="$audio_drv_list pa" + fi audio_possible_drivers="oss alsa sdl esd pa" linux="yes" linux_user="yes" -- 1.7.10.4