autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

[patch #10071] Update AX_CHECK_SIGN to use AC_COMPILE_IFELSE instead of


From: anonymous
Subject: [patch #10071] Update AX_CHECK_SIGN to use AC_COMPILE_IFELSE instead of the deprecated AC_TRY_COMPILE
Date: Wed, 26 May 2021 08:22:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.gnu.org/patch/?10071>

                 Summary: Update AX_CHECK_SIGN to use AC_COMPILE_IFELSE
instead of the deprecated AC_TRY_COMPILE
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Wed 26 May 2021 12:22:28 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: pieter.lexis@powerdns.com
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 26 May 2021 12:22:28 PM UTC  Name: modernize-ax_check_sign.patch 
Size: 1KiB   By: None

<http://savannah.gnu.org/patch/download.php?file_id=51482>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10071>

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




reply via email to

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