Hi, There was a change today in gnulib, that requires a small change in packages that use gnulib-tool --with-tests with --makefile-name. GNU m4 is one such package.
Currently, './bootstrap' fails like this: ... bootstrap: running: autoreconf --symlink --install tests/gnulib.mk:47: error: AM_CFLAGS must be set with '=' before using '+=' tests/Makefile.am:21: 'tests/gnulib.mk' included from here tests/gnulib.mk:48: error: AM_CXXFLAGS must be set with '=' before using '+=' tests/Makefile.am:21: 'tests/gnulib.mk' included from here autoreconf: error: automake failed with exit status: 1 The attached proposed patch fixes it.
>From fc620141d8d8d062ac7bcf297f6a3911e8f665c1 Mon Sep 17 00:00:00 2001 From: Bruno Haible <br...@clisp.org> Date: Thu, 4 Sep 2025 01:02:38 +0200 Subject: [PATCH] build: Update after gnulib changed. * tests/Makefile.am: Initialize AM_CFLAGS and AM_CXXFLAGS. --- tests/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 5cd64696..0b26e912 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -18,4 +18,7 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <https://www.gnu.org/licenses/>. +AM_CFLAGS = +AM_CXXFLAGS = + include gnulib.mk -- 2.50.1