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

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Mon Oct 10 19:09:10 UTC 2022



Rémi Denis-Courmont pushed to branch 3.0.x at VideoLAN / VLC


Commits:
4492db0c by Brad Smith at 2022-10-08T16:10:23+03:00
configure: use pkg-config file for sndio

(cherry picked from commit a9406397ed0342b3dae17a31ed54e46b4fb86407)
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

Conflicts:
	configure.ac

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -3569,8 +3569,12 @@ AC_ARG_ENABLE([sndio],
 ])
 have_sndio="no"
 AS_IF([test "$enable_sndio" != "no"], [
-  AC_CHECK_HEADER([sndio.h], [
+  PKG_CHECK_MODULES([SNDIO], [sndio], [
     have_sndio="yes"
+  ], [
+    AS_IF([test -n "$enable_sndio"], [
+      AC_MSG_ERROR([${SNDIO_PKG_ERRORS}.)])
+    ])
   ])
 ])
 AM_CONDITIONAL([HAVE_SNDIO], [test "${have_sndio}" = "yes"])



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4492db0c0045cc87c2350206c7d6151479871380
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