[vlc-commits] [Git][videolan/vlc][master] configure: use pkg-config file for sndio

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue Mar 1 13:03:05 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
a9406397 by Brad Smith at 2022-03-01T12:45:38+00:00
configure: use pkg-config file for sndio

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -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}.)])
     ])
   ])
 ])



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a9406397ed0342b3dae17a31ed54e46b4fb86407

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a9406397ed0342b3dae17a31ed54e46b4fb86407
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list