From patchwork Mon Aug 3 12:46:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30540 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 575D5B7063 for ; Tue, 4 Aug 2009 00:08:31 +1000 (EST) Received: from localhost ([127.0.0.1]:33024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXyDE-00044C-B8 for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 10:08:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwzK-0003TV-V6 for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwzG-0003Pz-As for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:50:02 -0400 Received: from [199.232.76.173] (port=51689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwzG-0003Pu-4U for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40823) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwzF-000738-Iv for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:57 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73CnuuW006619; Mon, 3 Aug 2009 08:49:57 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CntU2026144; Mon, 3 Aug 2009 08:49:56 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8Mg009715; Mon, 3 Aug 2009 08:49:54 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:46:29 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 38/81] move coreaudio libraries to coreaudio selection X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- Makefile.target | 3 --- configure | 6 +++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.target b/Makefile.target index 951063e..75861f7 100644 --- a/Makefile.target +++ b/Makefile.target @@ -410,9 +410,6 @@ obj-m68k-y += m68k-semi.o dummy_m68k.o ifdef CONFIG_COCOA COCOA_LIBS=-F/System/Library/Frameworks -framework Cocoa -framework IOKit -ifdef CONFIG_COREAUDIO -COCOA_LIBS+=-framework CoreAudio -endif endif ifdef CONFIG_SLIRP QEMU_CFLAGS+=-I$(SRC_PATH)/slirp diff --git a/configure b/configure index cfa641e..738bef8 100755 --- a/configure +++ b/configure @@ -1015,7 +1015,11 @@ for drv in $audio_drv_list; do "pa_simple *s = NULL; pa_simple_free(s); return 0;" ;; - oss|sdl|core|wav|dsound) + coreaudio) + libs_softmmu="-framework CoreAudio $libs_softmmu" + ;; + + oss|sdl|wav|dsound) # XXX: Probes for CoreAudio, DirectSound, SDL(?) ;;