[FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio
Brad Smith
brad at comstyle.com
Sat Jun 24 01:41:08 EEST 2023
ping.
On 2023-06-17 6:48 p.m., Brad Smith wrote:
> On Sun, Jun 18, 2023 at 12:01:14AM +0200, Michael Niedermayer wrote:
>> 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
>
> This is what I had intended.
>
> ---
> configure | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 0c77d8e1fe..2069bf8a37 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 && check_pkg_config sndio sndio sndio.h sio_open
>
> if enabled libcdio; then
> check_pkg_config libcdio libcdio_paranoia "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open ||
More information about the ffmpeg-devel
mailing list