From 259abe31400646d854bdbaac5c9a85176e04381a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 6 Mar 2024 11:59:11 +0100 Subject: [PATCH] gnulib-tool.py: Tweak comment location. * pygnulib/GLEmiter.py (GLEmiter.tests_Makefile_am): Move a comment. --- ChangeLog | 5 +++++ pygnulib/GLEmiter.py | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2b4839a8d2..62f367dfd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-03-06 Bruno Haible + + gnulib-tool.py: Tweak comment location. + * pygnulib/GLEmiter.py (GLEmiter.tests_Makefile_am): Move a comment. + 2024-03-06 Collin Funk gnulib-tool.py: Follow gnulib-tool changes, part 43. diff --git a/pygnulib/GLEmiter.py b/pygnulib/GLEmiter.py index 1d1463851b..9f573360e4 100644 --- a/pygnulib/GLEmiter.py +++ b/pygnulib/GLEmiter.py @@ -1122,6 +1122,8 @@ AC_DEFUN([%V1%_LIBSOURCES], [ emit += '%s += %s\n' % (dictionary['var'], val) dictionary.pop('var') + emit += '\n' + # Insert a '-Wno-error' option in the compilation commands emitted by # Automake, between $(AM_CPPFLAGS) and before the reference to @CFLAGS@. # Why? @@ -1138,10 +1140,10 @@ AC_DEFUN([%V1%_LIBSOURCES], [ # CFLAGS, they have asked for errors, they will get errors. But they have # no right to complain about these errors, because Gnulib does not support # '-Werror'. - emit += '\n' emit += 'CFLAGS = @GL_CFLAG_ALLOW_WARNINGS@ @CFLAGS@\n' emit += 'CXXFLAGS = @GL_CXXFLAG_ALLOW_WARNINGS@ @CXXFLAGS@\n' emit += '\n' + emit += 'AM_CPPFLAGS = \\\n' if for_test: emit += ' -DGNULIB_STRICT_CHECKING=1 \\\n' -- 2.39.5