[FFmpeg-devel] [PATCH]Error out if libcdio-paranoia is not found in configure

Carl Eugen Hoyos cehoyos at ag.or.at
Fri May 31 20:29:27 CEST 2013


Hi!

Attached patch fixes ticket #2614 for me.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 3ae1261..7e30c41 100755
--- a/configure
+++ b/configure
@@ -4226,7 +4226,9 @@ enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack && check_fu
 enabled_any sndio_indev sndio_outdev && check_lib2 sndio.h sio_open -lsndio
 
 if enabled libcdio; then
-    check_lib2 "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio || check_lib2 "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio
+    check_lib2 "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
+    check_lib2 "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
+    die "ERROR: libcdio-paranoia not found"
 fi
 
 enabled x11grab                                           &&


More information about the ffmpeg-devel mailing list