[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"], [
|
||||
CPPFLAGS="${CPPFLAGS} -DPULSEAUDIO"
|
||||
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"])
|
||||
dnl --- End options ---
|
||||
|
|
Loading…
Reference in New Issue