summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-05 08:49:07 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-05 08:49:07 +0000
commit9b7c75da7353b28dfcb3beeb09986b0083f05869 (patch)
treefafde804adc2ddeb8b2e94759b2f6b5beea6e9bb
parent614a0e9800a1781066392c6deaa3dbfc4efd130d (diff)
downloadmpv-9b7c75da7353b28dfcb3beeb09986b0083f05869.tar.bz2
mpv-9b7c75da7353b28dfcb3beeb09986b0083f05869.tar.xz
Improve CoreAudio check: Use all required headers and frameworks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29258 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
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 <<EOF
#include <CoreAudio/CoreAudio.h>
+#include <AudioToolbox/AudioToolbox.h>
+#include <AudioUnit/AudioUnit.h>
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"