[FFmpeg-devel] [PATCH] configure: warn about disabled explicitly enabled components
Marton Balint
cus at passwd.hu
Mon Feb 11 00:10:12 EET 2019
On Sat, 9 Feb 2019, Marton Balint wrote:
>
>
> On Sat, 9 Feb 2019, Carl Eugen Hoyos wrote:
>
>> 2019-02-05 22:14 GMT+01:00, Marton Balint <cus at passwd.hu>:
>>> If we enable a component but a dependant library is disabled, then the
>>> enabled
>>> component gets silently disabled. Warning about disabled explicitly
> enabled
>>> components
>>> allows configure to show the missing dependencies and if --fatal-warnings
> is
>>> used it can also fail if the user wants it so.
>>>
>>> For example if libdav1d is not availble ./configure
>>> --enable-decoder=libdav1d
>>> succeeds but the libdav1d decoder is not be enabled. After the patch
>>> configure
>>> will warn about this:
>>>
>>> WARNING: Disabled libdav1d_decoder because not all dependencies are
>>> satisfied: libdav1d
>>
>> The patch produces many warnings for:
>> $ ./configure --disable-everything --enable-decoder=mp*
>> Is this intended?
>
> It reports only disabled decoders which start with mp, so it works as it
> should the way I see it.
>
Will push this soon.
Regards,
Marton
More information about the ffmpeg-devel
mailing list