Index: configure
--- configure.orig
+++ configure
@@ -901,7 +901,7 @@ fi
 READLINE_LINK=""
 if [ $feat_readline = "1" ]; then
   if [ $try_editline = "1" ]; then
-    if test_code editline 'stdio.h editline/readline.h' '' '-ledit' \
+    if test_code editline 'stdio.h readline/readline.h' '' '-ledit' \
       'add_history(readline("prompt"));'
     then
       add_def FEAT_READLINE
