patch needed after gnulib changed
Bruno Haible via Bug reports for the GNU m4 macro processor <[email protected]> Thu, 04 Sep 2025 01:05:28 +0200
| Newsgroups | gmane.comp.gnu.m4.bugs |
|---|---|
| Organization | GNU |
| Message-ID | <14166766.eYu0d7l9Qd@nimes> |
This is a multi-part message in MIME format. --nextPart6915116.7zAN3gDyUM Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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. --nextPart6915116.7zAN3gDyUM Content-Disposition: attachment; filename="0001-build-Update-after-gnulib-changed.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="x-UTF_8J"; name="0001-build-Update-after-gnulib-changed.patch" From fc620141d8d8d062ac7bcf297f6a3911e8f665c1 Mon Sep 17 00:00:00 2001 From: Bruno Haible <[email protected]> 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 --nextPart6915116.7zAN3gDyUM--