diff options
Diffstat (limited to 'm4/readline.m4')
-rw-r--r-- | m4/readline.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/readline.m4 b/m4/readline.m4 index d2523460..2d838afb 100644 --- a/m4/readline.m4 +++ b/m4/readline.m4 @@ -30,7 +30,9 @@ AC_DEFUN([GNUPG_CHECK_READLINE], AC_MSG_CHECKING([whether readline via \"$_combo\" is present and sane]) - AC_LINK_IFELSE(AC_LANG_PROGRAM([ + AC_LINK_IFELSE([ + AC_LANG([C]) + AC_LANG_PROGRAM([ #include <stdio.h> #include <readline/readline.h> #include <readline/history.h> @@ -41,7 +43,7 @@ rl_catch_signals=0; rl_inhibit_completion=0; rl_attempted_completion_function=NULL; rl_completion_matches(NULL,NULL); -]),_found_readline=yes,_found_readline=no) +]),_found_readline=yes,_found_readline=no]) AC_MSG_RESULT([$_found_readline]) |