[AC_TRY_LINK([
#include <stdio.h>
#include <readline/readline.h>],
- [rl_getc_function;],
+ [printf ("%ld", (long) rl_getc_function)],
[ac_cv_var_rl_getc_function=yes],
[ac_cv_var_rl_getc_function=no])])
if test "${ac_cv_var_rl_getc_function}" = "yes"; then