# HG changeset patch # User gpoirier # Date 1227547625 0 # Node ID 2aaf331731eb4a7f2543aa0129e98686152193f0 # Parent 6aaa7be6841681275bf886b0aeaec94ea0e5ed06 add specific test to check if we can enable ao_macosx not matter how vo_quartz test may turn out diff -r 6aaa7be68416 -r 2aaf331731eb configure --- a/configure Mon Nov 24 14:44:09 2008 +0000 +++ b/configure Mon Nov 24 17:27:05 2008 +0000 @@ -3582,9 +3582,23 @@ fi if test "$_macosx" = yes ; then cat > $TMPC < +int main(void) { return 0; } +EOF + if cc_check -framework CoreAudio; then + _ld_extra="$_ld_extra -framework CoreAudio -framework AudioUnit -framework AudioToolbox" + _coreaudio=yes + _def_coreaudio='#define CONFIG_COREAUDIO 1' + _aosrc="$_aosrc ao_macosx.c" + _aomodules="macosx $_aomodules" + else + _coreaudio=no + _def_coreaudio='#undef CONFIG_COREAUDIO' + _noaomodules="macosx $_noaomodules" + fi + cat > $TMPC < #include -#include int main(void) { EnterMovies(); ExitMovies();