bugGNU roff - Bugs: bug #61059, configure.ac: 'AC_FOREACH' is...

 
 

bug #61059: configure.ac: 'AC_FOREACH' is obsolete

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 18 Aug 2021 11:29:05 PM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  Build/Installation Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 May 2022 12:28:03 PM UTC, comment #3: 


commit 2b15ebba56ea66257ab1ee76406787cfca633d36
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue May 24 01:15:18 2022 -0500

    m4/groff.m4: Migrate `AC_FOREACH` -> `m4_foreach`.

    * m4/groff.m4 (GROFF_CHECK_GROHTML_PROGRAMS): Migrate from `AC_FOREACH`
      to `m4_foreach` to avoid obsolescence warning from GNU Autoconf 2.70
      or later.

    Fixes <https://savannah.gnu.org/bugs/?61059>.  Thanks to Bjarni Ingi
    Gislason for the report.

    Also make code style more readable.


G. Branden Robinson <gbranden>
Group administrator
Tue 24 May 2022 06:06:21 AM UTC, comment #2: 

comment #1:

> I want to confirm that the `m4_foreach_w` is supported by Autoconf 2.68 (or its prerequisite m4 or whatever) before applying it.  2.68 is the earliest version we claim to support.


Okay, that was easy.  Yes, it is.

https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Looping-constructs.html

G. Branden Robinson <gbranden>
Group administrator
Tue 24 May 2022 06:03:51 AM UTC, comment #1: 

The bug #62510 has a patch.

Autoconf 2.70 is over a year old so it is well-worth considering to keep from distressing people who build groff from source.  I want to confirm that the `m4_foreach_w` is supported by Autoconf 2.68 (or its prerequisite m4 or whatever) before applying it.  2.68 is the earliest version we claim to support.

G. Branden Robinson <gbranden>
Group administrator
Wed 18 Aug 2021 11:29:05 PM UTC, original submission:  

Subject: Subject: configure.ac: 'AC_FOREACH' is obsolete

  Warning from autoconf:

autoconf (GNU Autoconf) 2.71
Copyright (C) 2021 Free Software Foundation, Inc.

obsolete::configure.ac:161::The macro `AC_FOREACH' is obsolete.
You should run autoupdate.::../../lib/autoconf/general.m4:194: AC_FOREACH is expanded from...
m4/groff.m4:224: GROFF_HTML_PROGRAMS is expanded from...
configure.ac:161: the top level
------------------------- END OF WARNING -------------------------


 AC_FOREACH is substituted by "m4_foreach_w".

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-26 gbranden StatusNone Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-01-11 gbranden CategoryCore General
        Item GroupWarning/Suspicious behaviour Build/Installation

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code