The attached patch silences the following Automake warning seen when running ./bootstrap:
Makefile.am:580: warning: escaping \# comment markers is not portable Collin
>From 1e30502693cface249771f46fa7d0617b0fe7986 Mon Sep 17 00:00:00 2001 Message-ID: <1e30502693cface249771f46fa7d0617b0fe7986.1751859340.git.collin.fu...@gmail.com> From: Collin Funk <collin.fu...@gmail.com> Date: Sun, 6 Jul 2025 20:23:35 -0700 Subject: [PATCH] maint: fix Automake warning * Makefile.am (prologue): Remove macro. (THANKS): Use the perl command directly. --- Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0f32a52c..c5728aef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -576,15 +576,12 @@ $(changelog): FORCE # current locale considers to be equal. ASSORT = LC_ALL=C sort -# Extract all lines up to the first one starting with "##". -prologue = perl -ne '/^\#\#/ and exit; print' $(no_thanks) - # Generate THANKS using git log entries as far as possible, fixing # up omissions and errors from NO-THANKS configuration. $(thanks): FORCE $(AM_V_GEN)if test -d '$(srcdir)/.git'; then \ { \ - $(prologue); echo; \ + perl -ne '/^\#\#/ and exit; print' $(no_thanks); echo; \ { perl -ne '/^$$/.../^$$/ and print' $(no_thanks) \ | grep -v '^$$' | perl -pe 's/ +/\0/'; \ { sed -e '1,/\#\# /d' -e '/^\#\# /d' \ -- 2.50.0