ffmpeg | branch: master | Brad Smith <b...@comstyle.com> | Fri Oct 29 16:41:27 
2021 -0400| [bb813ccb458ea64a68feebcdfa76504fd6969f52] | committer: Timo 
Rothenpieler

configure: use pkg-config for sndio

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb813ccb458ea64a68feebcdfa76504fd6969f52
---

 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 410f7cb241..23ef2abc9b 100755
--- a/configure
+++ b/configure
@@ -6821,7 +6821,8 @@ enabled alsa && { check_pkg_config alsa alsa 
"alsa/asoundlib.h" snd_pcm_htimesta
 enabled libjack &&
     require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range
 
-enabled sndio && check_lib sndio sndio.h sio_open -lsndio
+enabled sndio && { check_pkg_config sndio sndio "sndio.h" sio_open ||
+                   check_lib sndio sndio.h sio_open -lsndio; }
 
 if enabled libcdio; then
     check_pkg_config libcdio libcdio_paranoia "cdio/cdda.h cdio/paranoia.h" 
cdio_cddap_open ||

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to