configure: use pkg-config for sndio

(cherry picked from commit bb813ccb45)
Signed-off-by: Brad Smith <brad@comstyle.com>
This commit is contained in:
Brad Smith 2021-10-29 16:41:27 -04:00
parent 568c374568
commit 2161acff6d
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -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 ||