From 7182db5b0d94f97d3135fa302cf8d0d31bb2b72d Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 5 Dec 2020 11:57:48 +0200 Subject: [PATCH] ax_lib_readline: only accept the _real_ readline Seems the other ones are not compatible enough Fixes: #1852 --- m4/ax_lib_readline.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m4/ax_lib_readline.m4 b/m4/ax_lib_readline.m4 index 0d0822bc..2ca00a3b 100644 --- a/m4/ax_lib_readline.m4 +++ b/m4/ax_lib_readline.m4 @@ -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"