[Ffmpeg-devel] [PATCH] AIX assembler breakage in libavutil/common.h
Sun Jun 11 11:41:45 CEST 2006
On Sun, Jun 11, 2006 at 04:25:38AM -0500, Derek E. Lewis wrote:
> On Sun, 2006-06-11 at 02:54, matthieu castet wrote:
> > Why not add a check in the configure, in order to detect if we use the
> > broken AIX as ?
> This would obviously still result in an ifdef; however, if 'gas' is
> detected by 'configure' the code would still be used, rather than
> ifdef'd around.
gas or any other assembler that supports local labels. This is the
desirable solution. We can then #ifdef the code with something like
ASSEMBLER_SUPPORTS_LOCAL_LABELS (preferrably a less ugly name, though)
and check for this in configure instead of conditionally compiling based
on the detected operating system, which may or may not support the
desired feature in any particular custom configuration.
More information about the ffmpeg-devel