diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-04-11 15:20:10 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-04-11 15:20:10 +0100 |
commit | 41573e618cf0989673677daefd1be7871506d0ef (patch) | |
tree | dc3aa00c99cf7fb695ed430d4531fbc9f1ccf9e7 /configure.ac | |
parent | ce8b89d12b5c2d53f56d8a2325afeacc6cc61b4d (diff) | |
download | xine-lib-41573e618cf0989673677daefd1be7871506d0ef.tar.gz xine-lib-41573e618cf0989673677daefd1be7871506d0ef.tar.bz2 |
Test for pulseaudio 0.9.7 to determine which muting method to use.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fc569a7d4..127e23c0d 100644 --- a/configure.ac +++ b/configure.ac @@ -1099,6 +1099,16 @@ AC_ARG_WITH([pulseaudio], if test "x$with_pulseaudio" != "xno"; then PKG_CHECK_MODULES([PULSEAUDIO], [libpulse], [have_pulseaudio="yes"], [have_pulseaudio="no"]) + 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(HAVE_PULSEAUDIO, [test "x$have_pulseaudio" = x"yes"]) |