diff --git a/configure.ac b/configure.ac index e9b0592..72cd4eb 100644 --- a/configure.ac +++ b/configure.ac @@ -461,10 +461,10 @@ fi if test "x$has_readline" = "xyes"; then echo " * Readline support (yes)" else - if test "x$has_readline" = "xyes"; then - echo " - Readline support (no) no ncurses library found" - else + if test "x$has_ncurses" = "xyes"; then echo " - Readline support (no) no readline library found" + else + echo " - Readline support (no) no ncurses library found" fi fi if test "x$has_python" = "xyes"; then