[vlc-commits] configure: Explain how to disable avcodec or alsa

Mathieu Parent git at videolan.org
Fri Aug 4 09:51:36 CEST 2017


vlc | branch: master | Mathieu Parent <math.parent at gmail.com> | Thu Aug  3 18:27:01 2017 +0200| [d799967084aff19cdf4f032f9113d5f695d1ce89] | committer: Jean-Baptiste Kempf

configure: Explain how to disable avcodec or alsa

Signed-off-by: Mathieu Parent <math.parent at gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/configure.ac b/configure.ac
index e303715514..3f2cd9342a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.])
     ])
   ])
 ])



More information about the vlc-commits mailing list