bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61062] [PATCH] Errors from a new "automake" about undefined macros


From: Bjarni Ingi Gislason
Subject: [bug #61062] [PATCH] Errors from a new "automake" about undefined macros "AC_..."
Date: Thu, 19 Aug 2021 17:24:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?61062>

                 Summary: [PATCH] Errors from a new "automake" about undefined
macros "AC_..."
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Thu 19 Aug 2021 09:24:19 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Build/Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

>From 1378d15f1a9aeb256390e9e858968ee0becf86f3 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Thu, 19 Aug 2021 15:51:48 +0000
Subject: [PATCH] Errors from a new "automake" about undefined macros "AC_..."

automake (GNU automake) 1.16.4
Copyright (C) 2021 Free Software Foundation, Inc.

  From "make clean":

CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/bash
'/home/bg/git/groff/build-aux/missing' autoconf
configure.ac:21: warning: AC_INIT: not a literal:
"m4_esyscmd(build-aux/git-version-gen --prefix "" .tarball-version)"
configure:24123: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure:24128: error: possibly undefined macro: AC_MSG_FAILURE
configure:24130: error: possibly undefined macro: AC_MSG_WARN
make: *** [Makefile:5911: ../configure] Error 1

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 m4/groff.m4 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/m4/groff.m4 b/m4/groff.m4
index 9a481607..c45c0e4c 100644
--- a/m4/groff.m4
+++ b/m4/groff.m4
@@ -16,6 +16,10 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+m4_pattern_allow([^AC_DEFINE$])
+m4_pattern_allow([^AC_MSG_FAILURE$])
+m4_pattern_allow([^AC_MSG_WARN$])
+
 AC_DEFUN([GROFF_PRINT],
   [if test -z "$PSPRINT"; then
      AC_CHECK_PROGS([LPR], [lpr])
-- 
2.32.0






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61062>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]