summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-11 20:13:44 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-11 20:13:44 +0100
commit494b949523221dc1f2ad65ac6827340235bbeb00 (patch)
tree7085117b5d482c39c072d6aa7c25254f214695b5 /m4
parent628c4cbd9d023e74a7c6805d7ec0f163f2c172d1 (diff)
parent5c29923095c53ae9788bf77b7b6d416a689434e6 (diff)
downloadxine-lib-494b949523221dc1f2ad65ac6827340235bbeb00.tar.gz
xine-lib-494b949523221dc1f2ad65ac6827340235bbeb00.tar.bz2
Merge from 1.1.
--HG-- rename : include/xine.h.in => include/xine.h
Diffstat (limited to 'm4')
-rw-r--r--m4/audio_out.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/m4/audio_out.m4 b/m4/audio_out.m4
index 4288c32d5..d43aa38e1 100644
--- a/m4/audio_out.m4
+++ b/m4/audio_out.m4
@@ -192,6 +192,16 @@ AC_DEFUN([XINE_AUDIO_OUT_PLUGINS], [
if test x"$with_pulseaudio" = x"yes" && test x"$have_pulseaudio" != x"yes"; then
AC_MSG_ERROR([PulseAudio support requested, but PulseAudio not found])
fi
+ if test x"$have_pulseaudio" = xyes; then
+ AC_MSG_CHECKING([for pulseaudio >= 0.9.7])
+ PKG_CHECK_EXISTS([libpulse >= 0.9.7],
+ [have_pulseaudio_0_9_7="yes"],
+ [have_pulseaudio_0_9_7="no"])
+ AC_MSG_RESULT([$have_pulseaudio_0_9_7])
+ if test x"$have_pulseaudio_0_9_7" = xyes; then
+ AC_DEFINE([HAVE_PULSEAUDIO_0_9_7], 1, [define this if you have pulseaudio >= 0.9.7])
+ fi
+ fi
fi
AM_CONDITIONAL([ENABLE_PULSEAUDIO], [test x"$have_pulseaudio" = x"yes"])