I wrote:
> Then I notice that
>   - m4/libdl.m4 is missing from modules/relocatable-lib-lgpl,

... and not only there. Building GNU gettext, I get this error:

configure:44101: error: undefined or overquoted macro: gl_LIBDL

This patch fixes it:


2025-12-11  Bruno Haible  <[email protected]>

        relocatable-prog{,-wrapper}: Fix autoconf error (regr. 2025-12-09).
        * modules/relocatable-prog (Files): Add m4/libdl.m4.
        * modules/relocatable-prog-wrapper (Files): Likewise.

diff --git a/modules/relocatable-prog b/modules/relocatable-prog
index 844a2da634..9bd9387c51 100644
--- a/modules/relocatable-prog
+++ b/modules/relocatable-prog
@@ -12,6 +12,7 @@ lib/relocatable.c
 lib/progreloc.c
 m4/relocatable.m4
 m4/relocatable-lib.m4
+m4/libdl.m4
 m4/lib-ld.m4
 m4/host-cpu-c-abi.m4
 
diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper
index 1f42013e96..5b751694e1 100644
--- a/modules/relocatable-prog-wrapper
+++ b/modules/relocatable-prog-wrapper
@@ -48,6 +48,7 @@ m4/rawmemchr.m4
 m4/readlink.m4
 m4/realloc.m4
 m4/relocatable-lib.m4
+m4/libdl.m4
 m4/build-to-host.m4
 m4/setenv.m4
 




Reply via email to