]> git.sesse.net Git - vlc/commitdiff
AC_MSG_ERROR for configure errors
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 19 Apr 2009 10:21:27 +0000 (13:21 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 19 Apr 2009 10:23:34 +0000 (13:23 +0300)
AC_MSG_FAILURE is solely meant for configure check unexpected failure,
not for "normal" errors whereby a check detects a missing dependency.

configure.ac

index 144abb94a71c788b09fb5d0e9668af004e1d7fd5..3ae8b22ecdf46830e32e37774c4511ecf006c0fc 100644 (file)
@@ -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