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

Timo Rothenpieler timo at rothenpieler.org
Wed Dec 22 17:10:28 EET 2021


On 29.10.2021 22:41, Brad Smith wrote:
> 
> ---
>   configure | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index ede8f9777b..605a317df1 100755
> --- a/configure
> +++ b/configure
> @@ -6718,7 +6718,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 ||

patch looks simple enough and good to me.
Will push if nobody objects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211222/9778d7f8/attachment.bin>


More information about the ffmpeg-devel mailing list