[MPlayer-cvslog] r29265 - trunk/configure

diego subversion at mplayerhq.hu
Tue May 5 19:57:44 CEST 2009


Author: diego
Date: Tue May  5 19:57:44 2009
New Revision: 29265

Log:
cosmetics: Move CoreAudio check to audio output section.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue May  5 19:36:31 2009	(r29264)
+++ trunk/configure	Tue May  5 19:57:44 2009	(r29265)
@@ -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


More information about the MPlayer-cvslog mailing list