From b07c8ea9d9e0fa504a8f22ffc8258fb3953eacf6 Mon Sep 17 00:00:00 2001 From: Gary Buhrmaster Date: Fri, 6 Dec 2024 03:41:31 +0000 Subject: [PATCH] Modernize jack configure tests using pkgconf Supports both jack's and pipewire's implementations --- mythtv/configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mythtv/configure b/mythtv/configure index 0125614ebde..17bb85b74fa 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -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 &&