aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-14 21:20:27 -0300
committerJames Almer <jamrial@gmail.com>2017-10-14 21:36:14 -0300
commit06558100727420f33186e8656936a9373fa647ee (patch)
tree3677f3e2c284df28ccc2e2ec22a1286e34c6fe4d
parent963247b5f36a70f0ea083f5f43356d498fd85c47 (diff)
downloadffmpeg-06558100727420f33186e8656936a9373fa647ee.tar.gz
configure: add pkg-config checks for libcdio/cdparanoia
Should be more complete than the now fallback checks. Signed-off-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
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"