[Home]

Summary:ASTERISK-26046: [patch] Avoid obsolete warnings on autoconf.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2016-05-20 14:16:10Date Closed:2016-07-14 10:50:39
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:11.22.0 13.9.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk_configure_obsolete.patch
( 1) libcurl.m4
Description:{{./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.
Comments:By: Friendly Automation (friendly-automation) 2018-01-06 20:08:15.970-0600

Change 7813 merged by Jenkins2:
BuildSystem: Avoid obsolete warning with HELP_STRING on autoconf.

[https://gerrit.asterisk.org/7813|https://gerrit.asterisk.org/7813]

By: Friendly Automation (friendly-automation) 2018-01-06 20:32:15.399-0600

Change 7810 merged by Jenkins2:
BuildSystem: Avoid obsolete warning with HELP_STRING on autoconf.

[https://gerrit.asterisk.org/7810|https://gerrit.asterisk.org/7810]

By: Friendly Automation (friendly-automation) 2018-01-07 04:18:35.193-0600

Change 7814 merged by Jenkins2:
BuildSystem: Avoid obsolete warning with HELP_STRING on autoconf.

[https://gerrit.asterisk.org/7814|https://gerrit.asterisk.org/7814]