# HG changeset patch # User diego # Date 1241513347 0 # Node ID 34a9a4fe6e1dd45f84d68fa94cc1858b2180e998 # Parent d0ecbaeb6f51163ef055dd3f67d5039c6ba94ea3 Improve CoreAudio check: Use all required headers and frameworks. diff -r d0ecbaeb6f51 -r 34a9a4fe6e1d configure --- 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 < +#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"