Skip to content
Snippets Groups Projects
Commit a9406397 authored by Brad Smith's avatar Brad Smith Committed by Hugo Beauzée-Luyssen
Browse files

configure: use pkg-config file for sndio

parent c5893a22
No related branches found
No related tags found
1 merge request!1336configure: use pkg-config file for sndio
Pipeline #195601 passed with stage
in 16 minutes and 44 seconds
......@@ -3683,9 +3683,11 @@ AC_ARG_ENABLE([sndio],
])
have_sndio="no"
AS_IF([test "$enable_sndio" != "no"], [
AC_CHECK_HEADER([sndio.h], [
AC_CHECK_LIB([sndio], [sio_open], [
have_sndio="yes"
PKG_CHECK_MODULES([SNDIO], [sndio], [
have_sndio="yes"
], [
AS_IF([test -n "$enable_sndio"], [
AC_MSG_ERROR([${SNDIO_PKG_ERRORS}.)])
])
])
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment