[vlc-devel] [PATCH 1/4] Explain how to disable avcodec or alsa
Mathieu Parent
math.parent at gmail.com
Fri Aug 4 15:38:37 CEST 2017
2017-08-04 10:04 GMT+02:00 Rémi Denis-Courmont <remi at remlab.net>:
> Le 3 août 2017 19:27:01 GMT+03:00, Mathieu Parent <math.parent at gmail.com> a
> écrit :
>>
>> Signed-off-by: Mathieu Parent <math.parent at gmail.com>
>> ---
>> 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.])
>> ])
>> ])
>> ])
>
>
> We don't do this on purpose. You shouldn't disable those options unless you
> know what you are doing. And if you do, then you don't need that help text.
OK
Merci
--
Mathieu Parent
More information about the vlc-devel
mailing list