diff configure @ 10147:f2725d6717bd

Native MacOSX audio output by Dan Christiansen <danchr@daimi.au.dk>
author alex
date Wed, 21 May 2003 21:15:46 +0000
parents d72aabc36ca1
children f80f680d6169
line wrap: on
line diff
--- a/configure	Wed May 21 17:51:46 2003 +0000
+++ b/configure	Wed May 21 21:15:46 2003 +0000
@@ -2404,25 +2404,29 @@
     else
 	_macosx=no
 	_def_macosx='#undef MACOSX'
+	_noaomodules="macosx $_noaomodules"
     fi
 fi
 if test "$_macosx" = yes ; then
   cat > $TMPC <<EOF
 #include <Carbon/Carbon.h>
 #include <QuickTime/QuickTime.h>
+#include <CoreAudio/CoreAudio.h>
 int main(void) {
     EnterMovies();
     ExitMovies();
     CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false);
 }
 EOF
-  if cc_check -framework Carbon -framework QuickTime ; then 
+  if cc_check -framework Carbon -framework QuickTime -framework CoreAudio; then 
     _macosx=yes
-    _macosx_frameworks="-framework Carbon -framework QuickTime"
+    _macosx_frameworks="-framework Carbon -framework QuickTime -framework CoreAudio"
     _def_macosx='#define MACOSX 1'
+    _aomodules="macosx $_aomodules"
   else
     _macosx=no
     _def_macosx='#undef MACOSX'
+    _noaomodules="macosx $_noaomodules"
   fi
 fi
 echores "$_macosx"