Commit adff8a91 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

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.
parent bbd293ff
...@@ -3105,7 +3105,7 @@ then ...@@ -3105,7 +3105,7 @@ then
VLC_ADD_CFLAGS([avcodec],[$AVCODEC_CFLAGS]) VLC_ADD_CFLAGS([avcodec],[$AVCODEC_CFLAGS])
VLC_RESTORE_FLAGS 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 fi
...@@ -3129,7 +3129,7 @@ then ...@@ -3129,7 +3129,7 @@ then
VLC_ADD_CFLAGS([avformat],[$AVFORMAT_CFLAGS]) VLC_ADD_CFLAGS([avformat],[$AVFORMAT_CFLAGS])
VLC_RESTORE_FLAGS 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 fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment