summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-12-06 13:48:06 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-02-28 13:33:27 +0100
commitbec667a6bc390f1ef90039d82fd68a06ee228142 (patch)
tree399defd4d1d17626604d75c731c4edbe1d8cfb49 /configure.ac
parentvtysh: use poll/callback-driven readline interface (diff)
downloadfrr-bec667a6bc390f1ef90039d82fd68a06ee228142.tar.xz
frr-bec667a6bc390f1ef90039d82fd68a06ee228142.zip
vtysh: show live log messages
https://www.youtube.com/watch?v=8psFQCEgA18 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ddd883e54..170d16ca6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1371,6 +1371,8 @@ case "${enable_vtysh}" in
AC_MSG_ERROR([libreadline (needed for vtysh) not found and/or missing dependencies])
], [$LIBREADLINE])
], [])
+ LIBS="$LIBS -lreadline"
+ AC_CHECK_FUNCS([rl_clear_visible_line])
LIBS="$prev_libs"
AC_CHECK_HEADER([readline/history.h])