On 2024-08-01 05:08, Bruno Haible wrote:
It is better to define such a macro in the "early" phase of configure,
like we do for the 'extensions' module.
Thanks for fixing that.
I had originally thought to put the "#define _LINUX_SOURCE_COMPAT 1"
into AC_USE_SYSTEM_EXTENSIONS, which would have fixed it in a different
way. However, it's not really an extension to AIX but more of a change
(since it changes the strerror_r API) so I didn't do that.
With so many Gnulib modules now defining _LINUX_SOURCE_COMPAT directly
or indirectly, we're probably not that far from what my original thought
would have done, in a practical sense. But it's clearer to have a
separate macro since it really is a behavior change, not an extension.