Hi Miro, > configure:9639: error: possibly undefined macro: gl_STDLIB_H_DEFAULTS > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > autoreconf: error: /usr/bin/autoconf failed with exit status: 1 > ... > I do not really know what goes wrong as gl_STDLIB_H_DEFAULTS is never > mentioned in Gnulib manual.
Thanks for the reproducer. Perfectly reproducible. gl_STDLIB_H_DEFAULTS is defined by the 'stdlib-h' module, but there are two *.m4 files which use it incorrectly: - m4/canonicalize.m4 - module canonicalize - m4/malloc.m4 - modules eealloc, malloca Fixed through the two patches below. 2025-01-11 Bruno Haible <br...@clisp.org> eealloc, malloca: Fix module dependencies. Reported by Miro Palmu <em...@miropalmu.cc> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. * modules/eealloc (Depends-on): Add stdlib-h. * modules/malloca (Depends-on): Likewise. canonicalize: Fix module dependencies. Reported by Miro Palmu <em...@miropalmu.cc> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. * modules/canonicalize (Depends-on): Add stdlib-h.
>From 7e60981ef6036b1bf82f92c4c7a5601283134f30 Mon Sep 17 00:00:00 2001 From: Bruno Haible <br...@clisp.org> Date: Sat, 11 Jan 2025 15:19:57 +0100 Subject: [PATCH 1/2] canonicalize: Fix module dependencies. Reported by Miro Palmu <em...@miropalmu.cc> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. * modules/canonicalize (Depends-on): Add stdlib-h. --- ChangeLog | 7 +++++++ modules/canonicalize | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2b9083c406..1960825aaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-01-11 Bruno Haible <br...@clisp.org> + + canonicalize: Fix module dependencies. + Reported by Miro Palmu <em...@miropalmu.cc> in + <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. + * modules/canonicalize (Depends-on): Add stdlib-h. + 2025-01-10 Bruno Haible <br...@clisp.org> sys_un-h: Ensure that <sys/un.h> defines sa_family_t. diff --git a/modules/canonicalize b/modules/canonicalize index 6fb41b32ef..300705c130 100644 --- a/modules/canonicalize +++ b/modules/canonicalize @@ -27,6 +27,7 @@ readlink glibc-internal/scratch_buffer stat bool +stdlib-h sys_stat-h unistd-h xalloc-die -- 2.43.0
>From 46f8e73eba75401f5a10168eac57eae3bf4607aa Mon Sep 17 00:00:00 2001 From: Bruno Haible <br...@clisp.org> Date: Sat, 11 Jan 2025 15:20:48 +0100 Subject: [PATCH 2/2] eealloc, malloca: Fix module dependencies. Reported by Miro Palmu <em...@miropalmu.cc> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. * modules/eealloc (Depends-on): Add stdlib-h. * modules/malloca (Depends-on): Likewise. --- ChangeLog | 6 ++++++ modules/eealloc | 1 + modules/malloca | 1 + 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1960825aaf..87b37005da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2025-01-11 Bruno Haible <br...@clisp.org> + eealloc, malloca: Fix module dependencies. + Reported by Miro Palmu <em...@miropalmu.cc> in + <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. + * modules/eealloc (Depends-on): Add stdlib-h. + * modules/malloca (Depends-on): Likewise. + canonicalize: Fix module dependencies. Reported by Miro Palmu <em...@miropalmu.cc> in <https://lists.gnu.org/archive/html/bug-gnulib/2025-01/msg00077.html>. diff --git a/modules/eealloc b/modules/eealloc index 10ee49c16c..babdf4deed 100644 --- a/modules/eealloc +++ b/modules/eealloc @@ -16,6 +16,7 @@ m4/malloc.m4 Depends-on: extern-inline +stdlib-h configure.ac: gl_EEALLOC diff --git a/modules/malloca b/modules/malloca index f92f41e33e..ce1b09bc40 100644 --- a/modules/malloca +++ b/modules/malloca @@ -14,6 +14,7 @@ extensions-aix idx stdckdint-h stdint-h +stdlib-h xalloc-oversized configure.ac: -- 2.43.0