[vlc-devel] commit: AC_MSG_ERROR for configure errors ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Apr 19 12:23:44 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 19 13:21:27 2009 +0300| [adff8a91a0de7a2fd7053260e0187476546cffd8] | committer: Rémi Denis-Courmont 

AC_MSG_ERROR for configure errors

AC_MSG_FAILURE is solely meant for configure check unexpected failure,
not for "normal" errors whereby a check detects a missing dependency.

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

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 144abb9..3ae8b22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3105,7 +3105,7 @@ then
       VLC_ADD_CFLAGS([avcodec],[$AVCODEC_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
-      AC_MSG_FAILURE([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.])
+      AC_MSG_ERROR([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.])
   ])
 fi
 
@@ -3129,7 +3129,7 @@ then
       VLC_ADD_CFLAGS([avformat],[$AVFORMAT_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
-      AC_MSG_FAILURE([Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.])
+      AC_MSG_ERROR([Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.])
   ])
 fi
 




More information about the vlc-devel mailing list