Skip to content

Commit

Permalink
configure: use pkg-config for sndio
Browse files Browse the repository at this point in the history
  • Loading branch information
brad0 authored and BtbN committed Dec 23, 2021
1 parent ab6f9d8 commit bb813cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -6821,7 +6821,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 ||
Expand Down

0 comments on commit bb813cc

Please sign in to comment.