diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2022-09-01 17:09:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-01 17:09:01 -0500 |
| commit | d9f11dc261d9730ae1bc41cf78b8be120fcfdb9c (patch) | |
| tree | dbef94f02b89db0f08fca3c11eea76629a31d4e7 | |
| parent | f1f38efd836af248d362d961224a540d07bd50cf (diff) | |
| parent | 9399d58c13257849179d3c2b3698a2b43bc1b2a0 (diff) | |
Merge pull request #11893 from kraj/master
configure: Check for readline() function instead of main
| -rw-r--r-- | configure.ac | 2 |
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 |
