bugfix to r66283 (see issue #1204).
diff --git a/configure.in b/configure.in
index 8fa9ad7..ee7048b 100644
--- a/configure.in
+++ b/configure.in
@@ -3346,7 +3346,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])