aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorbobo1on1 <bob-nospam-@xbmc.org>2012-11-12 02:52:55 +0100
committerbobo1on1 <bob-nospam-@xbmc.org>2012-11-12 02:54:09 +0100
commit5bde637bc2c325832a968959d29bb6d3e5834861 (patch)
treefe928a9375b20e9570ef6784f792e5695fda1bab /configure.in
parentfb5faa0d504988095a23839f784194d90ac98a6c (diff)
fixed: link to pulse-simple, it's needed for CPulseAE::CanInit(), apparently not all distros link libpulse to libpulse-simple
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 11 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 7889dde419..ce40a5b709 100644
--- a/configure.in
+++ b/configure.in
@@ -1141,15 +1141,18 @@ if test "x$use_pulse" != "xno"; then
fi
USE_PULSE=0
else
- AC_CHECK_LIB([pulse], [main],,
- [if test "x$use_pulse" = "xyes"; then
- AC_MSG_ERROR($pulse_not_found)
- else
- use_pulse=no
- USE_PULSE=0
- AC_MSG_RESULT($pulse_not_found)
- fi])
+ AC_CHECK_LIB([pulse],[main],,pulse_found="no")
+ AC_CHECK_LIB([pulse-simple],[main],,pulse_found="no")
+
+ if test "x$pulse_found" != "xno"; then
USE_PULSE=1
+ elif test "x$use_pulse" = "xyes"; then
+ AC_MSG_ERROR($pulse_not_found)
+ else
+ use_pulse=no
+ USE_PULSE=0
+ AC_MSG_RESULT($pulse_not_found)
+ fi
fi
else
AC_MSG_RESULT($pulse_disabled)