summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ade832a89..e2918985a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -994,6 +994,18 @@ fi
AM_CONDITIONAL(HAVE_POLYPAUDIO, [test x"$have_polypaudio" = x"yes"])
dnl ---------------------------------------------
+dnl check for pulseaudio
+dnl ---------------------------------------------
+
+AC_ARG_WITH([pulseaudio],
+ AS_HELP_STRING([--without-pulseaudio], [Do not build Pulseaudio support]))
+
+if test "x$with_pulseaudio" != "xno"; then
+ PKG_CHECK_MODULES([PULSEAUDIO], [libpulse], [have_pulseaudio="yes"], [have_pulseaudio="no"])
+fi
+AM_CONDITIONAL(HAVE_PULSEAUDIO, [test x"$have_pulseaudio" = x"yes"])
+
+dnl ---------------------------------------------
dnl check for DirectX
dnl ---------------------------------------------
@@ -2723,6 +2735,9 @@ fi
if test x"$have_polypaudio" = "xyes"; then
echo " - polypaudio sound server"
fi
+if test "x$have_pulseaudio" = "xyes"; then
+ echo " - pulseaudio sound server"
+fi
echo "---"