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 diffutils is one such package.

Currently, './bootstrap' fails like this:
...
autoreconf: running: automake --add-missing --copy --force-missing
gnulib-tests/gnulib.mk:47: error: AM_CFLAGS must be set with '=' before using 
'+='
gnulib-tests/Makefile.am:1:   'gnulib-tests/gnulib.mk' included from here
autoreconf: error: automake failed with exit status: 1
./bootstrap: autoreconf failed

The attached proposed patch fixes it.

>From c59e71fcd55299fb5487df7dbfe4eec6d5080835 Mon Sep 17 00:00:00 2001
From: Bruno Haible <[email protected]>
Date: Thu, 4 Sep 2025 00:51:24 +0200
Subject: [PATCH] build: Update after gnulib changed

* gnulib-tests/Makefile.am: Initialize AM_CFLAGS.
---
 gnulib-tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnulib-tests/Makefile.am b/gnulib-tests/Makefile.am
index 6635f70..f68911f 100644
--- a/gnulib-tests/Makefile.am
+++ b/gnulib-tests/Makefile.am
@@ -1 +1,3 @@
+AM_CFLAGS =
+
 include gnulib.mk
-- 
2.50.1

Reply via email to