[asterisk-bugs] [JIRA] (ASTERISK-26046) [patch] Avoid obsolete warnings on autoconf.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Sat Jan 6 20:32:39 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-26046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241389#comment-241389 ]
Friendly Automation commented on ASTERISK-26046:
------------------------------------------------
Change 7810 merged by Jenkins2:
BuildSystem: Avoid obsolete warning with HELP_STRING on autoconf.
[https://gerrit.asterisk.org/7810|https://gerrit.asterisk.org/7810]
> [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
> Target Release: 11.24.0, 13.11.0, 14.0.0
>
> 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