[asterisk-bugs] [JIRA] (ASTERISK-27761) [patch] BuildSystem: With external editline, do not require libs for internal editline.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Thu Mar 22 05:14:39 CDT 2018


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

Alexander Traud updated ASTERISK-27761:
---------------------------------------

    Summary: [patch] BuildSystem: With external editline, do not require libs for internal editline.  (was: [patch] BuildSystem: With an external editline, do not require libs for the internal editline.)

> [patch] BuildSystem: With external editline, do not require libs for internal editline.
> ---------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27761
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27761
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.20.0, 15.3.0
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: libedit-13.patch, libedit-16.patch
>
>
> In Asterisk, libedit is a basic/essential requirement.
> ASTERISK-18725 allows an external libedit, the copy of the platform. However, that change was not complete: Libraries required for the internal libedit were still checked. Those libraries remained basic/essential for the whole Asterisk, even then when an external libedit is available. The solution is to check for the external libedit before the libraries for the internal libedit. And to check for those libraries only when the internal libedit is going to be used. Finally, re-checks for an alternative library (for the required libedit) are done only when the previous check failed. This avoids up-to four unnecessary checks.
> ASTERISK-27634 removed the internal libedit for the upcoming Asterisk 16. However, that change was not complete: The build system still checked for libraries required for an internal libedit. That is a follow-up issue of the one above because that relationship between external libedit and libraries required for an internal libedit was not obvious. This avoids four unnecessary checks.
> For both issues, no real-world effects are known, because the other essential requirements of Asterisk (libxml2) depend at least on one of those libraries required for an internal libedit. However, on some platforms, like openSUSE Leap, the error message printed by the script {{./configure}} asked for such an library erroneously.



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



More information about the asterisk-bugs mailing list