]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpcli: switch to GNU Readline.
authorVincent Bernat <bernat@luffy.cx>
Sun, 6 Jan 2013 09:47:21 +0000 (10:47 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 6 Jan 2013 10:41:18 +0000 (11:41 +0100)
commit23e7fa38bd58167bbf8e47b0f56a0667b912928f
treeb3320a3793252ee8e16d926222c4a9deab09175a
parent86b5c6fb48a419c3ad91f5e760669f3a24b3a49d
lldpcli: switch to GNU Readline.

libedit is not available on old versions of Linux distro. We try to
use Readline API instead which may be compatible with the libedit
version available in BSD.

This means that we have to write our own tokenizer. This also means
that we can make Readline optional.
12 files changed:
.travis.yml
configure.ac
debian/control
m4/ax_lib_readline.m4 [new file with mode: 0644]
m4/libedit.m4 [deleted file]
redhat/lldpd.spec
src/client/Makefile.am
src/client/client.h
src/client/commands.c
src/client/lldpcli.c
src/client/lldpctl.supp
src/client/tokenizer.c [new file with mode: 0644]