[vlc-devel] commit: Fail if avcodec, avformat or swscale couldn't be found ( instead of just printing an error). (Antoine Cellerier )

git version control git at videolan.org
Fri Sep 19 18:44:16 CEST 2008


vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Fri Sep 19 18:45:00 2008 +0200| [7d8a36fe8a368c6d75b3986c33fa927032d6eee0] | committer: Antoine Cellerier 

Fail if avcodec, avformat or swscale couldn't be found (instead of just printing an error).
(cherry picked from commit 4f417fe732275a89b64897e62c2cbf4f679d20ed)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d8a36fe8a368c6d75b3986c33fa927032d6eee0
---

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index b0eab06..b36610d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2994,7 +2994,7 @@ then
       VLC_ADD_CFLAGS([avcodec],[$AVCODEC_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
-      AC_MSG_ERROR([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.])
+      AC_MSG_FAILURE([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.])
   ])
 fi
 
@@ -3018,7 +3018,7 @@ then
       VLC_ADD_CFLAGS([avformat],[$AVFORMAT_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
-      AC_MSG_ERROR([Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.])
+      AC_MSG_FAILURE([Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.])
   ])
 fi
 
@@ -3075,7 +3075,7 @@ then
           AC_MSG_WARN([Could not find img_resample in libavcodec.])
           if test "${enable_swscale}" != "no"
           then
-            AC_MSG_ERROR([swscale (and its fallback module imgresample) support will be missing. Use --disable-swscale to ignore this error. (This basically means that you will be missing any good software scaling module and some video chroma converters.)])
+            AC_MSG_FAILURE([swscale (and its fallback module imgresample) support will be missing. Use --disable-swscale to ignore this error. (This basically means that you will be missing any good software scaling module and some video chroma converters.)])
           fi
 	# That sed hack to add -rpath is kind of ugly but at least it fixes
         # detection when linking against a shared libavcodec with




More information about the vlc-devel mailing list