patchGNU Autoconf Archive - Patches: patch #10071, Update AX_CHECK_SIGN to use...

 
 

patch #10071: Update AX_CHECK_SIGN to use AC_COMPILE_IFELSE instead of the deprecated AC_TRY_COMPILE

Submitted by:  None
Submitted on:  Wed 26 May 2021 12:22:28 PM UTC  
 
Priority:  5 - Normal Status:  None
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 26 May 2021 12:22:28 PM UTC, original submission:  

When running autoreconf with ax_check_sign.m4, autoconf 2.71 complains about the use of AX_TRY_COMPILE. This output comes from an autoreconf of PowerDNS:

[...]
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:29: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ax_check_sign.m4:41: AX_CHECK_SIGN is expanded from...
m4/pdns_check_time_t.m4:1: PDNS_CHECK_TIME_T is expanded from...
configure.ac:29: the top level
[...]

The attached patch updates the macro to use AC_COMPILE_IFELSE, which has been present in autoconf since at least version 2.60, released in 26 Jun 2006 (I did not check any older releases).

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #51482:  modernize-ax_check_sign.patch added by None (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-26 None Attached File- => Added modernize-ax_check_sign.patch, #51482

    Back to the top


    Powered by Savane 3.7