[
https://issues.apache.org/jira/browse/TS-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863085#comment-13863085
]
Leif Hedstrom commented on TS-2469:
-----------------------------------
As [[email protected]] points out, why remove libreadline support? There's no
violation to use GPL libraries, as long as it's not a hard requirement. And the
alternative, which we already supported, is e.g. "edit" or "editline".
One suggestion would be to just reorder the line, such that we prefer those two
over libreadline, e.g.
{code}
diff --git a/build/ax_lib_readline.m4 b/build/ax_lib_readline.m4
index 1af80b2..e4d09a6 100644
--- a/build/ax_lib_readline.m4
+++ b/build/ax_lib_readline.m4
@@ -65,7 +65,7 @@ AC_DEFUN([AX_LIB_READLINE], [
AC_CACHE_CHECK([for a readline compatible library],
ax_cv_lib_readline, [
ORIG_LIBS="$LIBS"
- for readline_lib in edit editline; do
+ for readline_lib in edit editline readline; do
for termcap_lib in "" termcap curses ncurses; do
if test -z "$termcap_lib"; then
TRY_LIB="-l$readline_lib"
{code}
> traffic_shell links against libreadline which is gpl licensed
> -------------------------------------------------------------
>
> Key: TS-2469
> URL: https://issues.apache.org/jira/browse/TS-2469
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Ben Aitchison
> Assignee: Zhao Yongming
> Priority: Minor
> Labels: traffic_shell
> Fix For: 4.2.0
>
> Attachments: removereadline.txt
>
>
> libreadline is gpl licensed which is infectious. libedit is a free
> alternative, and is already supported in the configure scripts so libreadline
> support should be removed.
> it seems traffic_shell is the only thing using libreadline/libedit currently.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)