ax_lib_readline: only accept the _real_ readline

Seems the other ones are not compatible enough

Fixes: #1852
This commit is contained in:
Dirk-Jan C. Binnema 2020-12-05 11:57:48 +02:00
parent 9cab1ae751
commit 7182db5b0d
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ AC_DEFUN([AX_LIB_READLINE], [
AC_CACHE_CHECK([for a readline compatible library],
ax_cv_lib_readline, [
ORIG_LIBS="$LIBS"
for readline_lib in readline edit editline; do
# djcb: we need the _real_ readline_
#for readline_lib in readline edit editline; do
for readline_lib in readline; do
for termcap_lib in "" termcap curses ncurses; do
if test -z "$termcap_lib"; then
TRY_LIB="-l$readline_lib"