summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b7e17d3565..8c1fab0eab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1372,7 +1372,7 @@ case "${enable_vtysh}" in
AC_DEFINE([VTYSH], [1], [VTY shell])
prev_libs="$LIBS"
- AC_CHECK_LIB([readline], [main], [
+ AC_CHECK_LIB([readline], [readline], [
LIBREADLINE="-lreadline"
], [
dnl readline failed - it might be incorrectly linked and missing its