1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

* readline.m4: Check for rl_completion_func_t and rl_completion_matches.

This commit is contained in:
David Shaw 2005-10-21 15:03:18 +00:00
parent c8571979ef
commit 4a58bbbb8a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-21 David Shaw <dshaw@jabberwocky.com>
* readline.m4: Check for rl_completion_func_t and
rl_completion_matches.
2005-08-05 David Shaw <dshaw@jabberwocky.com> 2005-08-05 David Shaw <dshaw@jabberwocky.com>
* ldap.m4: If a PATH is given to --with-ldap, bias directory * ldap.m4: If a PATH is given to --with-ldap, bias directory

View File

@ -1,5 +1,5 @@
dnl Check for readline and dependencies 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
dnl This file is free software, distributed under the terms of the GNU 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 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/readline.h>
#include <readline/history.h> #include <readline/history.h>
],[ ],[
rl_completion_func_t *completer;
add_history("foobar"); add_history("foobar");
rl_catch_signals=0; rl_catch_signals=0;
rl_inhibit_completion=0; rl_inhibit_completion=0;
rl_attempted_completion_function=NULL; 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]) AC_MSG_RESULT([$_found_readline])