summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 13132aa..69250e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,12 @@ case $host in
AC_MSG_RESULT(using ALSA)
AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))], )
+ # Look for PULSE flag
+ AC_ARG_WITH(pulse, [ --with-pulse = choose PulseAudio API support (linux only)], [
+ api="$api -D__LINUX_PULSE__"
+ AC_MSG_RESULT(using PulseAudio)
+ AC_CHECK_LIB(pulse-simple, pa_simple_new, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))], )
+
# Look for OSS flag
AC_ARG_WITH(oss, [ --with-oss = choose OSS API support (linux only)], [
api="$api -D__LINUX_OSS__"