mirror of
https://github.com/thestk/stk
synced 2026-02-07 09:46:16 +00:00
configure: fix build for --with-pulse
This commit is contained in:
@@ -162,6 +162,14 @@ api="$api -D__UNIX_JACK__"
|
||||
AC_MSG_RESULT(using ALSA)
|
||||
AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
|
||||
|
||||
# Look for PulseAudio flag
|
||||
AC_ARG_WITH(pulse, [ --with-pulse = choose PulseAudio support (linux only)])
|
||||
AS_IF([test "x$with_pulse" == "xyes"], [
|
||||
api="$api -D__LINUX_PULSE__"
|
||||
AC_MSG_RESULT(using PulseAudio)
|
||||
AC_CHECK_LIB(pulse, pa_proplist_gets, , AC_MSG_ERROR(PulseAudio support requires the libpulse library!))
|
||||
AC_CHECK_LIB(pulse-simple, pa_simple_new, , AC_MSG_ERROR(PulseAudio support requires the libpulse-simple library!))])
|
||||
|
||||
# Look for OSS flag
|
||||
AC_ARG_WITH(oss, [ --with-oss = choose OSS API support (unixes only)])
|
||||
AS_IF([test "x$with_oss" == "xyes"], [
|
||||
|
||||
Reference in New Issue
Block a user