[Ffmpeg-devel] CONFIG_* vs HAVE_*

Måns Rullgård mru
Tue Nov 7 22:31:54 CET 2006


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.

Perhaps we should try to clean this up a little.  Any comments?

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




More information about the ffmpeg-devel mailing list