[MPlayer-cvslog] r29258 - trunk/configure

diego subversion at mplayerhq.hu
Tue May 5 10:49:08 CEST 2009


Author: diego
Date: Tue May  5 10:49:07 2009
New Revision: 29258

Log:
Improve CoreAudio check: Use all required headers and frameworks.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue May  5 10:46:37 2009	(r29257)
+++ trunk/configure	Tue May  5 10:49:07 2009	(r29258)
@@ -3807,10 +3807,12 @@ 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 && _coreaudio=yes
+  cc_check -framework CoreAudio -framework AudioUnit -framework AudioToolbox && _coreaudio=yes
 fi
 if test "$_coreaudio" = yes ; then
   extra_ldflags="$extra_ldflags -framework CoreAudio -framework AudioUnit -framework AudioToolbox"


More information about the MPlayer-cvslog mailing list