[FFmpeg-cvslog] configure: use pkg-config for sndio

Brad Smith git at videolan.org
Sun May 19 01:18:41 EEST 2024


ffmpeg | branch: release/4.4 | Brad Smith <brad at comstyle.com> | Fri Oct 29 16:41:27 2021 -0400| [2161acff6d132091a46ac6b6354a9705c34c6137] | committer: Brad Smith

configure: use pkg-config for sndio

(cherry picked from commit bb813ccb458ea64a68feebcdfa76504fd6969f52)
Signed-off-by: Brad Smith <brad at comstyle.com>

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

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

diff --git a/configure b/configure
index f0303caafd..742a784e77 100755
--- a/configure
+++ b/configure
@@ -6662,7 +6662,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 ||



More information about the ffmpeg-cvslog mailing list