aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-10-21 15:03:18 +0000
committerDavid Shaw <[email protected]>2005-10-21 15:03:18 +0000
commit4a58bbbb8a44b75fd487f4c607f22479e74fc1f1 (patch)
treef00aa7f5eac93db629c40f4471b4de43a93a286a
parentFixed minor card related bugs and enhanced status messages (diff)
downloadgnupg-4a58bbbb8a44b75fd487f4c607f22479e74fc1f1.tar.gz
gnupg-4a58bbbb8a44b75fd487f4c607f22479e74fc1f1.zip
* readline.m4: Check for rl_completion_func_t and rl_completion_matches.
Diffstat (limited to '')
-rw-r--r--m4/ChangeLog5
-rw-r--r--m4/readline.m44
2 files changed, 8 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 1d1a49a72..6133f2125 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-21 David Shaw <[email protected]>
+
+ * readline.m4: Check for rl_completion_func_t and
+ rl_completion_matches.
+
2005-08-05 David Shaw <[email protected]>
* ldap.m4: If a PATH is given to --with-ldap, bias directory
diff --git a/m4/readline.m4 b/m4/readline.m4
index 7fc996b9b..d25234605 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -1,5 +1,5 @@
dnl Check for readline and dependencies
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
dnl
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -35,10 +35,12 @@ AC_DEFUN([GNUPG_CHECK_READLINE],
#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)
AC_MSG_RESULT([$_found_readline])