aboutsummaryrefslogtreecommitdiffstats
path: root/m4/readline.m4
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-08-10 11:39:38 +0000
committerWerner Koch <[email protected]>2011-08-10 11:39:38 +0000
commit14442d2be06750665125aab81671174a98e4e614 (patch)
treef4ddbefff7791ba6803b0966e4eb47b0b4e8095f /m4/readline.m4
parentTypo fix (diff)
downloadgnupg-14442d2be06750665125aab81671174a98e4e614.tar.gz
gnupg-14442d2be06750665125aab81671174a98e4e614.zip
Fix autoconf warnings and update config.* files.
Diffstat (limited to 'm4/readline.m4')
-rw-r--r--m4/readline.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/readline.m4 b/m4/readline.m4
index d25234605..783f40123 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -30,18 +30,18 @@ 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_PROGRAM([[
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
-],[
+]],[[
rl_completion_func_t *completer;
add_history("foobar");
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])