From 9b7c75da7353b28dfcb3beeb09986b0083f05869 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 5 May 2009 08:49:07 +0000 Subject: Improve CoreAudio check: Use all required headers and frameworks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29258 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9f0202b05b..2f4deb3a8d 100755 --- a/configure +++ b/configure @@ -3807,10 +3807,12 @@ echocheck "CoreAudio" if test "$_coreaudio" = auto ; then cat > $TMPC < +#include +#include int main(void) { return 0; } EOF _coreaudio=no - cc_check -framework CoreAudio && _coreaudio=yes + cc_check -framework CoreAudio -framework AudioUnit -framework AudioToolbox && _coreaudio=yes fi if test "$_coreaudio" = yes ; then extra_ldflags="$extra_ldflags -framework CoreAudio -framework AudioUnit -framework AudioToolbox" -- cgit v1.2.3