Skip to content

Commit

Permalink
Modernize jack configure tests using pkgconf
Browse files Browse the repository at this point in the history
Supports both jack's and pipewire's implementations
  • Loading branch information
garybuhrmaster committed Dec 6, 2024
1 parent 69b954b commit a7b660f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mythtv/configure
Original file line number Diff line number Diff line change
Expand Up @@ -5720,9 +5720,7 @@ check_header soundcard.h

enabled alsa && check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound

enabled jack && check_lib jack jack/jack.h jack_client_open -ljack &&
check_func jack_port_get_latency_range -ljack &&
enable audio_jack
enabled jack && use_pkg_config libjack jack jack/jack.h jack_port_get_latency_range && enable audio_jack || disable audio_jack

# PulseAudio probe
! disabled audio_pulse &&
Expand Down

0 comments on commit a7b660f

Please sign in to comment.