diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/audio_out.m4 | 10 |
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"]) |