From 48bd65a2f5bda9d3407d92137524c14d288ec074 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 3 May 2002 13:47:57 +0000 Subject: [PATCH] check for rl_completion_matches --- configure.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index f684968..ea5551e 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl YAZ Toolkit, Index Data 1994-2001 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.71 2002-04-15 12:03:39 adam Exp $ +dnl $Id: configure.in,v 1.72 2002-05-03 13:47:57 adam Exp $ AC_INIT(include/yaz/yaz-version.h) AM_INIT_AUTOMAKE(yaz, 1.8.7) dnl @@ -146,6 +146,15 @@ if test "$ac_cv_lib_readline_readline" = "yes"; then rl_attempted_completion_over = 0; } ],AC_DEFINE(HAVE_READLINE_COMPLETION_OVER)) + AC_TRY_LINK([ + #include + #include + ],[ + static void f() + { + rl_completion_matches (0, 0); + } + ],AC_DEFINE(HAVE_READLINE_RL_COMPLETION_MATCHES)) LIBS=$OLDLIBS fi dnl ------ various functions -- 1.7.10.4