]> git.ipfire.org Git - thirdparty/openwrt.git/commit
tools: gnulib: rename macro file for cond module 24136/head
authorMichael Pratt <mcpratt@pm.me>
Sat, 4 Jul 2026 07:21:49 +0000 (03:21 -0400)
committerRobert Marko <robimarko@gmail.com>
Sun, 12 Jul 2026 09:26:53 +0000 (11:26 +0200)
commita54eb7297f816b4bc521c6e7f38f5b61ebc7e3b3
tree86a07d89bf6beb6675598ea86aabba3b1f50416d
parentcda598a59528026854a1a308af97602cfdb424b9
tools: gnulib: rename macro file for cond module

It was reported that cond.m4 in gnulib is a name clash with
cond.m4 provided by Automake, where they are for completely
different purposes instead of different versions of the same macros.

A quick survey of all the macro files in the build directory reveals that
this is the only case where the gnulib copy is signficantly smaller
than the rest of the copies of the same macro name
distributed in the rest of the build system,
and the only one that name clashes with Automake.

A previous fix added a prefix to all macros from gnulib,
but the name must match how it is described in the respective modules files
as a functional requirement to build certain tools for certain (older) hosts,
so patch the problematic module instead of renaming all macros from gnulib.

Ref: c820f097e0be ("tools: gnulib: install .m4 file with gl_ prefix")
Ref: 78a8cfb57772 ("tools: gnulib: fix broken install of .m4 files")
Reported-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/24136
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/gnulib/patches/310-modules-cond.patch [new file with mode: 0644]