mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 14:43:21 -05:00
Check for ALSA
This commit is contained in:
parent
f7886c87cb
commit
dd759683dd
@ -122,10 +122,16 @@ fi
|
|||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*linux*)
|
*linux*)
|
||||||
|
use_alsa=true
|
||||||
|
PKG_CHECK_MODULES(ALSA, [ alsa ])
|
||||||
|
AC_DEFINE(LAUDIO_USE_ALSA, 1, [define if local audio output uses ALSA])
|
||||||
|
|
||||||
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
AM_CONDITIONAL(COND_ALSA, test x$use_alsa = xtrue)
|
||||||
|
|
||||||
AC_CHECK_SIZEOF(void *)
|
AC_CHECK_SIZEOF(void *)
|
||||||
|
|
||||||
AC_CHECK_HEADERS(getopt.h,,)
|
AC_CHECK_HEADERS(getopt.h,,)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user