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

Alexander Traud (JIRA) noreply at issues.asterisk.org
Thu Jul 14 10:50:56 CDT 2016


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

Alexander Traud closed ASTERISK-26046.
--------------------------------------

    Resolution: Fixed

> [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 nine 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