[FFmpeg-cvslog] configure: Properly fail when libcdio/cdparanoia is not found

Vittorio Giovara git at videolan.org
Mon Mar 9 12:57:39 CET 2015


ffmpeg | branch: release/2.2 | Vittorio Giovara <vittorio.giovara at gmail.com> | Sun Feb 22 19:49:52 2015 +0000| [0ad8d751337efbbd61c0d78762448b043100b653] | committer: Vittorio Giovara

configure: Properly fail when libcdio/cdparanoia is not found

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ad8d751337efbbd61c0d78762448b043100b653
---

 configure |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 58e7f8b..35f9d5c 100755
--- a/configure
+++ b/configure
@@ -4031,7 +4031,8 @@ 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/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
+    die "ERROR: No usable libcdio/cdparanoia found"
 fi
 
 check_lib X11/Xlib.h XOpenDisplay -lX11 && enable xlib



More information about the ffmpeg-cvslog mailing list