diff mbox

[38/81] move coreaudio libraries to coreaudio selection

Message ID f051874401bb2d99a40184f32858406eb2a75e61.1249301360.git.quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Aug. 3, 2009, 12:46 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target |    3 ---
 configure       |    6 +++++-
 2 files changed, 5 insertions(+), 4 deletions(-)
diff mbox

Patch

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(?)
     ;;