[FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

Michael Niedermayer michael at niedermayer.cc
Sun Jun 18 01:01:14 EEST 2023


On Fri, Jun 16, 2023 at 09:10:19PM -0400, Brad Smith wrote:
> 
> ---
>  configure | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index 0c77d8e1fe..653aafb1ea 100755
> --- a/configure
> +++ b/configure
> @@ -7009,8 +7009,7 @@ 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_pkg_config sndio sndio "sndio.h" sio_open ||
> -                   check_lib sndio sndio.h sio_open -lsndio; }
> +enabled sndio && require_pkg_config sndio sndio sndio.h sio_open

this breaks a plain configure
here on ubuntu

./configure
ERROR: sndio not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230618/7bd628b0/attachment.sig>


More information about the ffmpeg-devel mailing list