diff --git a/configure.ac b/configure.ac index 3849bd58..6c35376a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ---