mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 18:25:06 -05:00
client: drop support for GNU readline
GNU readline switched to GPLv3+ in version 6.0, which is incompatible with the chrony's GPLv2 license. Drop support for the readline library. Only editline is supported now.
This commit is contained in:
7
client.c
7
client.c
@@ -44,12 +44,7 @@
|
||||
#include "util.h"
|
||||
|
||||
#ifdef FEAT_READLINE
|
||||
#ifdef USE_EDITLINE
|
||||
#include <editline/readline.h>
|
||||
#else
|
||||
#include <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* ================================================== */
|
||||
@@ -1267,7 +1262,7 @@ give_help(void)
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
/* Tab-completion when editline/readline is available */
|
||||
/* Tab-completion when editline is available */
|
||||
|
||||
#ifdef FEAT_READLINE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user