mainAutoconf - Support: sr #110375, AC_LANG_SAVE and AC_LANG_RESTORE...

 
 

sr #110375: AC_LANG_SAVE and AC_LANG_RESTORE should not be marked obsolete

Submitter:  Bruno Haible <haible>
Submitted:  Fri 13 Nov 2020 10:57:37 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  4 - Important
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 15 Nov 2020 08:24:22 PM UTC, comment #2: 

Agreed.  Fixed in 15acc26a209accd353f5961487dfef3a03e12b4a.

Zack Weinberg <zackw>
Group administrator
Fri 13 Nov 2020 11:05:49 PM UTC, comment #1: 

original submission:

> I think AC_LANG_SAVE and AC_LANG_RESTORE should not be marked obsolete, until a libtool.m4 release exists that does not use them any more.


It does sound reasonable to not warn about them for now, even if we document them as obsolete. Zack?

Paul Eggert <eggert>
Group administrator
Fri 13 Nov 2020 10:57:37 PM UTC, original submission:  

In GNU gettext, autoconf 2.69d gave a number of "obsolete" warnings. I fixed those that I could fix. But some remain:


configure.ac:95: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:95: You should run autoupdate.
./lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
../m4/libtool.m4:8072: _LT_LANG_RC_CONFIG is expanded from...
../m4/libtool.m4:841: _LT_LANG is expanded from...
../m4/libtool.m4:823: LT_LANG is expanded from...
configure.ac:95: the top level
configure.ac:95: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:95: You should run autoupdate.
./lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
../m4/libtool.m4:8072: _LT_LANG_RC_CONFIG is expanded from...
../m4/libtool.m4:841: _LT_LANG is expanded from...
../m4/libtool.m4:823: LT_LANG is expanded from...
configure.ac:95: the top level


There are two problems here:
1) [Major] Libtool is not actively maintained (no release in 5 years, and no commit in 1.5 years). Therefore libtool.m4 is likely to produce the same warnings for the next 2 years or so. And there are MANY packages that use libtool.m4, and most of them don't really want to apply local modifications to libtool.m4.
2) [Normal] The Autoconf documentation describes what AC_LANG_SAVE and AC_LANG_RESTORE should be replaced with. I tried it, and got an error because Autoconf does not define a language named 'rc'.

Problem 2 may be surmountable with a couple of hours of effort, but problem 1 is not.

For this reason, I think AC_LANG_SAVE and AC_LANG_RESTORE should not be marked obsolete, until a libtool.m4 release exists that does not use them any more.

Bruno Haible <haible>

 

(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 zackw (Posted a comment)
  • -email is unavailable- added by eggert (Posted a comment)
  • -email is unavailable- added by haible (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-15 zackw StatusNone Done
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code