[Ffmpeg-devel] CONFIG_* vs HAVE_*

Diego Biurrun diego
Wed Nov 8 00:30:40 CET 2006


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.

Diego




More information about the ffmpeg-devel mailing list