[Ffmpeg-devel] CONFIG_* vs HAVE_*

Måns Rullgård mru
Wed Nov 8 00:50:00 CET 2006


Diego Biurrun <diego at biurrun.de> writes:

> On Tue, Nov 07, 2006 at 09:31:54PM +0000, M?ns Rullg?rd wrote:
>> Is there any reason why some #defines set by configure are named
>> CONFIG_* and others HAVE_*?  There is some tendency towards
>> availability of various system features being indicated by HAVE_*
>> macros, while configuration options use CONFIG_* names.  This is not
>> consistent, however.  For instance, HAVE_VHOOK and CONFIG_SDL do not
>> follow this pattern.
>> 
>> There is similar confusion with TARGET_* and ARCH_* names.
>
> I have always wondered about this myself.  Inherited from autoconf
> maybe?
>
>> Perhaps we should try to clean this up a little.  Any comments?
>
> Yes, we should clean this up.

Fine.  So what should the clean naming convention be?

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list