Mercurial > mplayer.hg
comparison configure @ 29223:3c13788cc259
cosmetics: Move CoreAudio check to audio output section.
author | diego |
---|---|
date | Tue, 05 May 2009 17:57:44 +0000 |
parents | 84ed872376f3 |
children | 1b0acc3d6781 |
comparison
equal
deleted
inserted
replaced
29222:1ce79aed275a | 29223:3c13788cc259 |
---|---|
3805 echores "$_sys_sysinfo" | 3805 echores "$_sys_sysinfo" |
3806 | 3806 |
3807 | 3807 |
3808 if darwin; then | 3808 if darwin; then |
3809 | 3809 |
3810 echocheck "CoreAudio" | |
3811 if test "$_coreaudio" = auto ; then | |
3812 cat > $TMPC <<EOF | |
3813 #include <CoreAudio/CoreAudio.h> | |
3814 #include <AudioToolbox/AudioToolbox.h> | |
3815 #include <AudioUnit/AudioUnit.h> | |
3816 int main(void) { return 0; } | |
3817 EOF | |
3818 _coreaudio=no | |
3819 cc_check -framework CoreAudio -framework AudioUnit -framework AudioToolbox && _coreaudio=yes | |
3820 fi | |
3821 if test "$_coreaudio" = yes ; then | |
3822 libs_mplayer="$libs_mplayer -framework CoreAudio -framework AudioUnit -framework AudioToolbox" | |
3823 def_coreaudio='#define CONFIG_COREAUDIO 1' | |
3824 _aomodules="coreaudio $_aomodules" | |
3825 else | |
3826 def_coreaudio='#undef CONFIG_COREAUDIO' | |
3827 _noaomodules="coreaudio $_noaomodules" | |
3828 fi | |
3829 echores $_coreaudio | |
3830 | |
3831 | |
3832 echocheck "Quartz framework" | 3810 echocheck "Quartz framework" |
3833 if test "$_quartz" = auto ; then | 3811 if test "$_quartz" = auto ; then |
3834 cat > $TMPC <<EOF | 3812 cat > $TMPC <<EOF |
3835 #include <Carbon/Carbon.h> | 3813 #include <Carbon/Carbon.h> |
3836 #include <QuickTime/QuickTime.h> | 3814 #include <QuickTime/QuickTime.h> |
5676 EOF | 5654 EOF |
5677 cc_check -lmlib && _mlib=yes && def_mlib='#define CONFIG_MLIB 1' | 5655 cc_check -lmlib && _mlib=yes && def_mlib='#define CONFIG_MLIB 1' |
5678 fi | 5656 fi |
5679 echores "$_mlib" | 5657 echores "$_mlib" |
5680 fi #if sunos | 5658 fi #if sunos |
5659 | |
5660 | |
5661 if darwin; then | |
5662 echocheck "CoreAudio" | |
5663 if test "$_coreaudio" = auto ; then | |
5664 cat > $TMPC <<EOF | |
5665 #include <CoreAudio/CoreAudio.h> | |
5666 #include <AudioToolbox/AudioToolbox.h> | |
5667 #include <AudioUnit/AudioUnit.h> | |
5668 int main(void) { return 0; } | |
5669 EOF | |
5670 _coreaudio=no | |
5671 cc_check -framework CoreAudio -framework AudioUnit -framework AudioToolbox && _coreaudio=yes | |
5672 fi | |
5673 if test "$_coreaudio" = yes ; then | |
5674 libs_mplayer="$libs_mplayer -framework CoreAudio -framework AudioUnit -framework AudioToolbox" | |
5675 def_coreaudio='#define CONFIG_COREAUDIO 1' | |
5676 _aomodules="coreaudio $_aomodules" | |
5677 else | |
5678 def_coreaudio='#undef CONFIG_COREAUDIO' | |
5679 _noaomodules="coreaudio $_noaomodules" | |
5680 fi | |
5681 echores $_coreaudio | |
5682 fi #if darwin | |
5681 | 5683 |
5682 | 5684 |
5683 if irix; then | 5685 if irix; then |
5684 echocheck "SGI audio" | 5686 echocheck "SGI audio" |
5685 if test "$_sgiaudio" = auto ; then | 5687 if test "$_sgiaudio" = auto ; then |