From 6dbc24d904d8dd71ece310e08cd01be72efff703 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 25 Jul 2001 22:00:18 +0000 Subject: rl_completion_matches check --- mixutils/mixvm_command.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mixutils') diff --git a/mixutils/mixvm_command.c b/mixutils/mixvm_command.c index d13e5ac..610f79a 100644 --- a/mixutils/mixvm_command.c +++ b/mixutils/mixvm_command.c @@ -30,7 +30,10 @@ #ifdef HAVE_LIBREADLINE # include # include -#else +# ifndef HAVE_RL_COMPLETION_MATCHES /* old versions of rl don't use rl_ */ +# define rl_completion_matches completion_matches +# endif +#else /* ! HAVE_LIBREADLINE */ typedef int Function (); #endif /* HAVE_LIBREADLINE */ -- cgit v1.2.3