gnome-media r4200 - trunk



Author: hadess
Date: Tue Feb 17 16:58:00 2009
New Revision: 4200
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4200&view=rev

Log:
2009-02-17  Bastien Nocera  <hadess hadess net>

	* configure.ac: Detect whether we have PA 0.9.15,
	to use some of the new API



Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Feb 17 16:58:00 2009
@@ -63,7 +63,7 @@
 GTK_REQUIRED_VERSION=2.10.0
 LIBGLADE_REQUIRED_VERSION=1.99.2
 GCONF_REQUIRED_VERSION=2.6.1
-PA_REQUIRED_VERSION=0.9.12
+PA_REQUIRED_VERSION=0.9.12 # FIXME remove extra checks below when we have PA 0.9.15
 CANBERRA_REQUIRED_VERSION=0.4
 
 PKG_CHECK_MODULES(MEDIA, [
@@ -125,6 +125,19 @@
 AC_SUBST(PULSEAUDIO_CFLAGS)
 AC_SUBST(PULSEAUDIO_LIBS)
 
+dnl FIXME remove when we have PA 0.9.15 hard-deps
+if test "x$have_pulseaudio" = "xyes" ; then
+  PKG_CHECK_MODULES(NEW_PA,
+  		    libpulse >= 0.9.15,
+  		    have_new_pulseaudio=yes,
+  		    have_new_pulseaudio=no)
+  if test "x$have_new_pulseaudio" = "xyes" ; then
+    AC_DEFINE(HAVE_NEW_PULSE, 1, [Define if we have PulseAudio 0.9.15])
+  fi
+fi
+
+
+
 dnl=======================================================================
 dnl Check for the CDDBSlave2 modules
 dnl=======================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]