diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-05 17:57:44 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-05 17:57:44 +0000 |
commit | d46d132b1f4ae84a0a165f47f0e4942a4069af63 (patch) | |
tree | 3a21276819f90bd0a1ca59073cdfd8568fc3b561 | |
parent | bcb63539f4e2ea1d0162aa112fde15a3c7bbde13 (diff) |
cosmetics: Move CoreAudio check to audio output section.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29265 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 46 |
1 files changed, 24 insertions, 22 deletions
@@ -3807,28 +3807,6 @@ echores "$_sys_sysinfo" if darwin; then -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 -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 <<EOF @@ -5680,6 +5658,30 @@ echores "$_mlib" fi #if sunos +if darwin; then +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 -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 |