Eric Blake wrote:
> Is it worth trying to override AC_C_INLINE's definition of inline when we
> detect that inline is not supported, such that inline is redefined to the
> empty string, and uses of inline in headers that are not protected by
> HAVE_INLINE will then cause multiple copy link errors if used in more than
> one file?

This is probably not safe to do: There may be other source files, outside
of gnulib, that use 'inline' in another context (such as 'extern inline'
or similar - despite its complicated portability issues).

AC_C_INLINE and gl_INLINE simply answer two different questions.

Bruno


Reply via email to