[Ffmpeg-devel] CONFIG_* vs HAVE_*
Måns Rullgård
mru
Sun Nov 12 15:43:44 CET 2006
Diego Biurrun <diego at biurrun.de> writes:
> On Wed, Nov 08, 2006 at 11:22:33AM +0000, M?ns Rullg?rd wrote:
>>
>> Fran?ois Revol said:
>> >> I believe HAVE_ is for compiler-type features,
>> >> (e.g. HAVE_STDLIB_H, HAVE_ALTIVEC, HAVE_FOUR_BYTE_INTS)
>> >>
>> >> and CONFIG_ is for user-level features -
>> >> things that can be turned off and on by configure.
>> >> (e.g. CONFIG_SWSCALER, CONFIG_USE_XV)
>> >>
>> >
>> > Seems coherent.
>>
>> Yes, but that's not how the names are currently used, which is why I asked.
>>
>> > Also, HAVE_ is the prefix used by autoconf tests...
>>
>> True.
>
> So let's use that.
The CPU features are oddly enough indicated by TARGET_* in config.mak
and HAVE_* or ARCH_* in config.h. IMHO the same thing should use the
same name everywhere, and the names should be consistent. I'll try to
come up with a consistent proposal.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list