[FFmpeg-devel] Configure Script change request to support libcdio on macOS

桃源老師 xanadu6291 at dream.jp
Sun Sep 17 17:58:27 EEST 2017


Hello,

In fact, I'm not a kind of ffmpeg developer at all.  While trying to link libcdio library with ffmpeg, I just happened to find out the way...

So I'm not sure I can answer any question about this configure script change...


I have tried to use libcdio function with ffmpeg on macOS. Then I get an information from libcdio team.  That is ffmpeg configure script should read libcdio's pkgconfig file, libcdio.pc.

So I tried and error, then found that the below change should be done to link libcdio library with ffmpeg on macOS.


$ diff -u a/configure b/configure 
--- a/configure	2017-09-16 15:02:06.000000000 +0900
+++ b/configure	2017-09-17 04:53:34.000000000 +0900
@@ -6151,7 +6151,7 @@

if enabled libcdio; then
    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 ||
+    require_pkg_config libcdio "cdio/paranoia/cdda.h cdio/paranoia/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"
fi

Please review it and make it acceptable for everyone...


Best Regards,


// Miya aka. TougenRoushi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3860 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170917/4f84defc/attachment.bin>


More information about the ffmpeg-devel mailing list