mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-21 06:21:19 -04:00
[pulseaudio] Let configure check if Pulseaudio supports setting its thread name
This commit is contained in:
parent
fa6c6a1832
commit
f8d3ccddb2
@ -228,6 +228,9 @@ AC_ARG_WITH(pulseaudio, AS_HELP_STRING([--with-pulseaudio], [use Pulseaudio (def
|
|||||||
AS_IF([test "x$with_pulseaudio" = "xyes"], [
|
AS_IF([test "x$with_pulseaudio" = "xyes"], [
|
||||||
CPPFLAGS="${CPPFLAGS} -DPULSEAUDIO"
|
CPPFLAGS="${CPPFLAGS} -DPULSEAUDIO"
|
||||||
PKG_CHECK_MODULES(LIBPULSE, [ libpulse ])
|
PKG_CHECK_MODULES(LIBPULSE, [ libpulse ])
|
||||||
|
AC_SEARCH_LIBS([pa_threaded_mainloop_set_name], [pulse],
|
||||||
|
AC_DEFINE(HAVE_PULSE_MAINLOOP_SET_NAME, 1, [Define to 1 if you have Pulseaudio with pa_threaded_mainloop_set_name])
|
||||||
|
)
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(COND_PULSEAUDIO, [test "x$with_pulseaudio" = "xyes"])
|
AM_CONDITIONAL(COND_PULSEAUDIO, [test "x$with_pulseaudio" = "xyes"])
|
||||||
dnl --- End options ---
|
dnl --- End options ---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user