[asterisk-bugs] [JIRA] (ASTERISK-26046) [patch] Avoid obsolete warnings on autoconf.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri May 20 14:16:56 CDT 2016


Alexander Traud created ASTERISK-26046:
------------------------------------------

             Summary: [patch] Avoid obsolete warnings on autoconf.
                 Key: ASTERISK-26046
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26046
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.9.1, 11.22.0
            Reporter: Alexander Traud
            Severity: Minor


{{./bootstrap.sh}} is using autoconf to convert {{configure.ac}} into the script {{configure}}, everyone used at installation. However, when one enables all warnings, autoconf reports several [obsolete macros|http://www.gnu.org/software/autoconf/manual/autoconf.html#Obsolete-Macros]. Because the configure.ac of Asterisk includes several other m4, quite a long list of warnings is created. However, just eight statements cause this, see the attached {{asterisk_configure_obsolete.patch}}.

Two affected m4 were imported from upstream projects:
* [libcurl…|https://github.com/curl/curl/commits/master/docs/libcurl/libcurl.m4]
* [ax_pthread…|http://www.gnu.org/software/autoconf-archive/ax_pthread.html]

Their upstream versions avoid those obsolete macros, already. Because Asterisk is using a patched variant of {{libcurl.m4}}, I attached not a patch but the whole m4. Furthermore, I updated that m4 with all upstream patches as of today.

All this together avoids the obsolete warnings with autoconf 2.69, which was released in April 2012. Tested on Ubuntu 16.04 LTS.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list