backport r66295 from trunk (small fix to the previous backport)
diff --git a/configure.in b/configure.in
index 87a0e34..3bb8717 100644
--- a/configure.in
+++ b/configure.in
@@ -3117,7 +3117,7 @@
 done
 # Uncomment this line if you want to use READINE_LIBS in Makefile or scripts
 #AC_SUBST([READLINE_LIBS])
-if test $py_cv_lib_readline = !yes; then
+if test $py_cv_lib_readline = no; then
   AC_MSG_RESULT([none])
 else
   AC_MSG_RESULT([$READLINE_LIBS])