* m4/realloc.m4 (gl_FUNC_REALLOC_0_NONNULL): Add comment about _LINUX_SOURCE_COMPAT. --- m4/realloc.m4 | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/m4/realloc.m4 b/m4/realloc.m4 index f34cc4c389..6401f22847 100644 --- a/m4/realloc.m4 +++ b/m4/realloc.m4 @@ -40,6 +40,10 @@ AC_DEFUN([gl_FUNC_REALLOC_POSIX], # gl_FUNC_REALLOC_0_NONNULL # ------------------------- # Replace realloc if realloc (..., 0) returns null. +# Modules that use this macro directly or indirectly should depend +# on extensions-aix, so that _LINUX_SOURCE_COMPAT gets defined +# before this macro gets invoked. This helps if !(__VEC__ || __AIXVEC), +# and doesn't hurt otherwise. AC_DEFUN([gl_FUNC_REALLOC_0_NONNULL], [ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) -- 2.43.0
