Mercurial > mplayer.hg
changeset 29216:34a9a4fe6e1d
Improve CoreAudio check: Use all required headers and frameworks.
author | diego |
---|---|
date | Tue, 05 May 2009 08:49:07 +0000 |
parents | d0ecbaeb6f51 |
children | a8c76e85b9e6 |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue May 05 08:46:37 2009 +0000 +++ b/configure Tue May 05 08:49:07 2009 +0000 @@ -3807,10 +3807,12 @@ 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"