aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:40 -0500
commit997e690ab933e4c59315c8bd9e9828ca95262e52 (patch)
treef500f84de1e161c2457894c1729a8be48b052eaf
parent9f437a091924f258e8efd82d903eb5610c942b06 (diff)
move coreaudio libraries to coreaudio selection
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
-rw-r--r--Makefile.target3
-rwxr-xr-xconfigure6
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.target b/Makefile.target
index 934b8f2e01..374071c8ae 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 551b626ae5..53055791f6 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(?)
;;