From d46d132b1f4ae84a0a165f47f0e4942a4069af63 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 5 May 2009 17:57:44 +0000 Subject: cosmetics: Move CoreAudio check to audio output section. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29265 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/configure b/configure index 6d853c0720..0c6531f479 100755 --- a/configure +++ b/configure @@ -3807,28 +3807,6 @@ echores "$_sys_sysinfo" if darwin; then -echocheck "CoreAudio" -if test "$_coreaudio" = auto ; then - cat > $TMPC < -#include -#include -int main(void) { return 0; } -EOF - _coreaudio=no - cc_check -framework CoreAudio -framework AudioUnit -framework AudioToolbox && _coreaudio=yes -fi -if test "$_coreaudio" = yes ; then - libs_mplayer="$libs_mplayer -framework CoreAudio -framework AudioUnit -framework AudioToolbox" - def_coreaudio='#define CONFIG_COREAUDIO 1' - _aomodules="coreaudio $_aomodules" -else - def_coreaudio='#undef CONFIG_COREAUDIO' - _noaomodules="coreaudio $_noaomodules" -fi -echores $_coreaudio - - echocheck "Quartz framework" if test "$_quartz" = auto ; then cat > $TMPC < $TMPC < +#include +#include +int main(void) { return 0; } +EOF + _coreaudio=no + cc_check -framework CoreAudio -framework AudioUnit -framework AudioToolbox && _coreaudio=yes +fi +if test "$_coreaudio" = yes ; then + libs_mplayer="$libs_mplayer -framework CoreAudio -framework AudioUnit -framework AudioToolbox" + def_coreaudio='#define CONFIG_COREAUDIO 1' + _aomodules="coreaudio $_aomodules" +else + def_coreaudio='#undef CONFIG_COREAUDIO' + _noaomodules="coreaudio $_noaomodules" +fi +echores $_coreaudio +fi #if darwin + + if irix; then echocheck "SGI audio" if test "$_sgiaudio" = auto ; then -- cgit v1.2.3