* as/link/lkar.h: sgetl and sputl are independent of endianness
[fw/sdcc] / debugger / mcs51 / acinclude.m4
index 7c436e51e118dc595b4ee250a4c1080d5cbce442..c7383220b92d3e29012e95975127af2bd86891f7 100644 (file)
@@ -1,4 +1,8 @@
-dnl This macro will check for the presence of the readline library.
+dnl Borut Razem
+dnl
+dnl This macro checks for the presence of the readline library.
+dnl It works also in cross-compilation environment.
+dnl
 dnl To get it into the aclocal.m4 dnl file, do this:
 dnl   aclocal -I . --verbose
 dnl
@@ -50,8 +54,8 @@ 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
         AC_MSG_RESULT(yes)