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

Alexander Traud (JIRA) noreply at issues.asterisk.org
Tue Jun 7 03:46:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Traud updated ASTERISK-26046:
---------------------------------------

    Component/s: Core/BuildSystem

> [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
>          Components: Core/BuildSystem
>    Affects Versions: 11.22.0, 13.9.1
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>         Attachments: asterisk_configure_obsolete.patch, libcurl.m4
>
>
> {{./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