From 06558100727420f33186e8656936a9373fa647ee Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 14 Oct 2017 21:20:27 -0300 Subject: [PATCH] configure: add pkg-config checks for libcdio/cdparanoia Should be more complete than the now fallback checks. Signed-off-by: James Almer --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 22026ef832..b9a3a9bc1f 100755 --- a/configure +++ b/configure @@ -6262,6 +6262,8 @@ enabled jack && check_lib jack jack/jack.h jack_client_open -ljack && enabled sndio && check_lib sndio sndio.h sio_open -lsndio if enabled libcdio; then + use_pkg_config libcdio libcdio_paranoia "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open || + use_pkg_config libcdio libcdio_paranoia "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open || check_lib libcdio "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio || check_lib libcdio "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio || die "ERROR: No usable libcdio/cdparanoia found"