changeset 1700:4a6f56f1a0a2 trunk

[svn] - build CoreAudio plugin if available
author nenolod
date Fri, 15 Sep 2006 16:32:15 -0700
parents 19406038eb35
children 021f87117ac9
files ChangeLog configure.ac
diffstat 2 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 15 14:31:03 2006 -0700
+++ b/ChangeLog	Fri Sep 15 16:32:15 2006 -0700
@@ -1,3 +1,12 @@
+2006-09-15 21:31:03 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2335]
+  - remove sqlite from main makefile
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Makefile  
+
+
 2006-09-15 21:30:28 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2333]
   - remove sqlite
--- a/configure.ac	Fri Sep 15 14:31:03 2006 -0700
+++ b/configure.ac	Fri Sep 15 16:32:15 2006 -0700
@@ -331,10 +331,28 @@
          [have_pulse=no]
     )
 else
-    AC_MSG_RESULT([*** esound plugin disabled per user request ***])
+    AC_MSG_RESULT([*** pulseaudio output plugin disabled per user request ***])
     have_pulse=no
 fi
 
+dnl *** CoreAudio
+
+AC_ARG_ENABLE(coreaudio,
+    [  --disable-coreaudio     disable CoreAudio output plugin (default=enabled)],
+    [enable_coreaudio=$enableval],
+    [enable_coreaudio="yes"]
+)
+
+if test "$enable_coreaudio" = "yes"; then
+	AC_CHECK_HEADERS([CoreServices/CoreServices.h],
+		[have_coreaudio=yes
+		 OUTPUT_PLUGINS="$OUTPUT_PLUGINS CoreAudio"],
+		[have_coreaudio=no])
+else
+	AC_MSG_RESULT([*** CoreAudio output plugin disabled per user request ***])
+	have_coreaudio=no
+fi
+
 dnl *** AltiVec
 
 AC_CHECK_HEADERS(altivec.h,
@@ -1210,6 +1228,7 @@
 echo "  Analog Realtime Synthesizer (arts):     $have_arts"
 echo "  BSD/SUN audio output (sun):             $have_sun"
 echo "  PulseAudio sound server (pulse_audio):  $have_pulse"
+echo "  Mac OS X sound support (CoreAudio):     $have_coreaudio"
 echo
 echo "  Input Plugins"
 echo "  -------------"