From: Adam Dickmeiss Date: Fri, 3 May 2002 13:47:57 +0000 (+0000) Subject: check for rl_completion_matches X-Git-Tag: YAZ.1.8.7.CCL~13 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=48bd65a2f5bda9d3407d92137524c14d288ec074 check for rl_completion_matches --- 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