From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HmvXE-00074Q-QX for qemu-devel@nongnu.org; Sat, 12 May 2007 13:37:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HmvXC-00073s-Ba for qemu-devel@nongnu.org; Sat, 12 May 2007 13:37:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmvXC-00073h-8u for qemu-devel@nongnu.org; Sat, 12 May 2007 13:37:34 -0400 Received: from eastrmmtao101.cox.net ([68.230.240.7]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HmvPd-000052-7Y for qemu-devel@nongnu.org; Sat, 12 May 2007 13:29:45 -0400 Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070512172944.TSRD19390.eastrmmtao101.cox.net@eastrmimpo01.cox.net> for ; Sat, 12 May 2007 13:29:44 -0400 Message-ID: <11091209.1178990983631.JavaMail.root@eastrmwml01.mgt.cox.net> Date: Sat, 12 May 2007 13:29:43 -0400 From: Ben Taylor MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2379_27489859.1178990983605" Subject: [Qemu-devel] Patch: support OSS on solaris Reply-To: sol10x86@cox.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_2379_27489859.1178990983605 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I've recrafted my patch for supporting OpenSound System on Solaris by checking for it automatically, instead of providing an option. Also added a status flag on whether OSS is enabled or not. Ben ------=_Part_2379_27489859.1178990983605 Content-Type: text/x-patch; name=01-qemu-configure-oss-sol.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=01-qemu-configure-oss-sol.diff --- qemu.ORIG/configure 2007-05-09 10:06:06.000000000 -0400 +++ qemu/configure 2007-05-12 13:30:31.292001000 -0400 @@ -157,6 +157,9 @@ kqemu="yes" fi fi + if test -f /usr/include/sys/soundcard.h ; then + oss=yes + fi ;; *) oss="yes" @@ -667,6 +670,7 @@ fmod_support="" fi echo "FMOD support $fmod $fmod_support" +echo "OSS support $oss" if test -n "$sparc_cpu"; then echo "Target Sparc Arch $sparc_cpu" fi ------=_Part_2379_27489859.1178990983605--