* doc/sdccman.lyx, doc/random-notes.txt, doc/avr/avr_design.txt,
[fw/sdcc] / debugger / mcs51 / aclocal.m4
index e391550959f705167f6a1aa2bef6f64dd5f9cec9..b76b053406326a756a3b33ff1862fce5ca417261 100644 (file)
@@ -62,18 +62,17 @@ EOF
         #include <readline/readline.h>
       ],[
         /* function-body */
+        int dummy = rl_completion_append_character; /* rl_completion_append_character appeared in version 2.1 */
         readline(NULL);
-        rl_function_of_keyseq(NULL, NULL, NULL);
       ],[
         wi_cv_lib_readline=yes
-        wi_cv_lib_readline_result=yes
+        AC_MSG_RESULT(yes)
       ],[
         wi_cv_lib_readline=no
-        wi_cv_lib_readline_result=no
+        AC_MSG_RESULT(no)
       ])
 
       if test "$wi_cv_lib_readline" = yes; then
-        AC_MSG_RESULT($wi_cv_lib_readline_result)
         AC_SUBST(LIBREADLINE)
         AC_DEFINE_UNQUOTED(HAVE_LIBREADLINE, $wi_READLINE_VERSION, [Readline])
         break