[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs

Luca Barbato lu_zero
Thu Oct 23 08:41:11 CEST 2008


On 22-10-2008 22:36, Ramiro Polla wrote:
> On Wed, Oct 22, 2008 at 6:14 PM, Luca Barbato<lu_zero at gentoo.org>  wrote:
>> On 22-10-2008 21:41, Ramiro Polla wrote:
>>> Ok, the documentation says: "This library might depend on libz,
>>> libbz2, libfaac, libfaad, or any combination of those, and might
>>> depend on many more or many less in the future (or not)."
>>>
>>> What does the configure check look like and how do you add that to ldflags?
>> see the kludge that was (is?) present in vim configure...
>
> Is there any specific one to look at in the ~3200 lines of
> src/auto/configure.in? =)

was something like a

for a in $(combination_of ${possible_lib})
do
    try_to_link $lib $a && break || a = fail;
done

lu




More information about the ffmpeg-devel mailing list