Commit d7999670 authored by Mathieu Parent's avatar Mathieu Parent Committed by Jean-Baptiste Kempf

configure: Explain how to disable avcodec or alsa

Signed-off-by: Mathieu Parent's avatarMathieu Parent <math.parent@gmail.com>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 696d0172
......@@ -2295,7 +2295,7 @@ AS_IF([test "${enable_avcodec}" != "no"], [
case "${avfork}" in
libav) av_codec_ver="57.16.0" ;;
ffmpeg) av_codec_ver="57.37.100" ;;
*) AC_MSG_ERROR([Missing libav or FFmpeg])
*) AC_MSG_ERROR([Missing libav or FFmpeg. Pass --disable-avcodec to ignore this error.])
esac
PKG_CHECK_MODULES(AVCODEC,[libavcodec >= ${av_codec_ver} libavutil >= 52.0.0], [
VLC_SAVE_FLAGS
......@@ -3503,7 +3503,7 @@ AS_IF([test "${enable_alsa}" != "no"], [
have_alsa="yes"
], [
AS_IF([test "x${enable_alsa}" != "x"], [
AC_MSG_ERROR([$ALSA_PKG_ERRORS. alsa-lib 1.0.24 or later required.])
AC_MSG_ERROR([$ALSA_PKG_ERRORS. alsa-lib 1.0.24 or later required. Pass --disable-alsa to ignore this error.])
])
])
])
......
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