diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-05 08:49:07 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-05 08:49:07 +0000 |
commit | 9b7c75da7353b28dfcb3beeb09986b0083f05869 (patch) | |
tree | fafde804adc2ddeb8b2e94759b2f6b5beea6e9bb | |
parent | 614a0e9800a1781066392c6deaa3dbfc4efd130d (diff) | |
download | mpv-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-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |